Help ILI9163 Font

For general Flowcode discussion that does not belong in the other sections.
Post Reply
solozerouno
Posts: 114
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Help ILI9163 Font

Post 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.

BenR
Matrix Staff
Posts: 1755
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 446 times
Been thanked: 606 times

Re: Help ILI9163 Font

Post 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.

Post Reply