GLDC display!

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1053 times
Been thanked: 280 times
Contact:

GLDC display!

Postby jgu1 » Mon Nov 18, 2019 8:55 pm

Hi all!

I recently work a lot with the GLDC Ili9341 display (working great with FC8). Sometimes it is a little difficult to get an overview what size of font I have to choose when I have to write something in the display, depend on what I have to write in the display.
Therefor, I made a little helper program which show the size of the fontsize from size 1 - 31 Just run the simulation and you see how big the font is, or you can change the device for your purpose and compile to Chip. It might be possible to change for other GLDC display to.

Maybe usefull, anyway for me. :wink:

Br Jorgen
Attachments
Fonthelper.fcfx
(11.37 KiB) Downloaded 44 times
These users thanked the author jgu1 for the post (total 4):
AbhijitR (Tue Nov 19, 2019 6:36 am) • LeighM (Tue Nov 19, 2019 8:39 am) • Benj (Wed Nov 20, 2019 1:06 pm) • chipfryer27 (Thu Dec 05, 2019 3:56 pm)
Rating: 20%
 

User avatar
Benj
Matrix Staff
Posts: 14671
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4655 times
Been thanked: 4280 times
Contact:

Re: GLDC display!

Postby Benj » Wed Nov 20, 2019 1:09 pm

Hi Jorgen,

Thanks for sharing, looks like a very useful program.

For interest here are the various font sizes in pixels.

Font sizes
Standard Fonts

0 = Normal - 5 x 8 pixels plus 1 x space pixel between letters
1 = 2 x Width
2 = 2 x Width and 2 x Height
3 = 2 x Height

Extended Fonts
4 = 2 x Width and 3 x Height
5 = 2 x Width and 4 x Height
6 = 2 x Width and 5 x Height
7 = 2 x Width and 6 x Height
8 = 3 x width
9 = 3 x Width and 2 x Height
10 = 3 x Width and 3 x Height
11 = 3 x Width and 4 x Height
12 = 3 x Width and 5 x Height
13 = 3 x Width and 6 x Height
14 = 4 x width
15 = 4 x Width and 2 x Height
16 = 4 x Width and 3 x Height
17 = 4 x Width and 4 x Height
18 = 4 x Width and 5 x Height
19 = 4 x Width and 6 x Height
20 = 5 x width
21 = 5 x Width and 2 x Height
22 = 5 x Width and 3 x Height
23 = 5 x Width and 4 x Height
24 = 5 x Width and 5 x Height
25 = 5 x Width and 6 x Height
26 = 6 x width
27 = 6 x Width and 2 x Height
28 = 6 x Width and 3 x Height
29 = 6 x Width and 4 x Height
30 = 6 x Width and 5 x Height
31 = 6 x Width and 6 x Height
These users thanked the author Benj for the post (total 3):
AbhijitR (Wed Nov 20, 2019 1:24 pm) • jgu1 (Wed Nov 20, 2019 5:22 pm) • chipfryer27 (Thu Dec 05, 2019 3:59 pm)
Rating: 15%