2020-06-05 6:11 AM
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
2020-06-06 12:07 AM
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
2020-06-07 6:09 AM
Hi @Jagdish Bisawa ,
Thanks for the details.
Regards,
Bala
2020-06-09 12:45 AM
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.