cancel
Showing results for 
Search instead for 
Did you mean: 

What will be the maximum size of a font with 3 sizes

Bala1
Associate II

I want to know how many fonts that can is support in my project.

So do you guys have any idea how much will be the maximum size of a font with 3 different sizes(20,40,80).

Thanks in advance

Regards,

Bala

3 REPLIES 3
Jagdish Bisawa
Associate III

Hi @Bala​ ,

In case you are using the gcc compiler, the size can be known by looking into the map file of your application. The map file is generated by the gcc linker & stored in the folder : <project_name>/TouchGFX/build/bin.

It is a long file giving a lot of details. Look for the text "FontFlashSection", which will give you the starting address & the size of this resource.

/Jagdish Bisawa

Bala1
Associate II

Hi @Jagdish Bisawa​ ,

Thanks for the details.

Regards,

Bala

Martin KJELDSEN
Chief III

And note that the linker script will only tell you the size of the glyphs that you actually use in your application, not the entire font.