Skip to main content
Bala1
Associate III
June 5, 2020
Question

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

  • June 5, 2020
  • 3 replies
  • 993 views

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

This topic has been closed for replies.

3 replies

Jagdish Bisawa
Visitor II
June 6, 2020

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
Bala1Author
Associate III
June 7, 2020

Hi @Jagdish Bisawa​ ,

Thanks for the details.

Regards,

Bala

Martin KJELDSEN
Principal III
June 9, 2020

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.