Page 1 of 1

Help ILI9163 Font

Posted: Sun Dec 20, 2020 2:57 pm
by solozerouno
I noticed that there are two new entries in the ILI9163 components display: ReadFontStat and ReadFontWidth but not being a native English speaker I can not understand what they are for : you can explain me what they are for and how to use them with an example.
Thank you Alessandro.

Re: Help ILI9163 Font

Posted: Mon Dec 21, 2020 11:11 am
by BenR
Hello,

ReadFontStat returns a statistic of the selected Font, the pixel height or the space width.

ReadFontWidth returns the width of a single ASCII character in the selected font.

Both functions are used by the Text Field component to display the GLCD text correctly in all the various fonts.