I wonder if anyone with a CTE 5" or 7" would mind or could possibly give me the dimensions(pixels) of these fonts please?
If I had one of these, I would not need to ask, in the meantime, someone surely could help me out please?
Further to my post below, I have just found and flashed up my unit.
//BVS= Bitstream vera sans, suffix = font size in pixel (height) #define BVS_34 28
The BVS is a proportional font.
For the above example, the visible part of a capital T is 21 pixels high and 18 pixels wide. A Capital W would be wider.
The last W would not be vertically aligned.
I have attached to photographs for you.
Of course, you can use fonts drawn by the Arduino, but there may a speed penalty by not using the on-board font IC.
I use TFT displays, Only one of my displays has a font IC on it. It is quicker to write text using the font IC.
It would depend on your requirement.
A suggestion is to look at the UTFT.cpp & UTFT.h library files ("modified by coldtears electronics to suite CTE TFT Modules") as the code reveals the method of reading and applying each character width when writing to the LCD. Although I have not decoded the font ic data, my understanding is that for each font size or height, the individual character has some header bytes describing the width of that character.