The hight of character
Powersoft last edited by
I use this font, and now I wont to know what is hight of a charchter?
I use the above commands.
ksprayberry last edited by
@powersoft I kind of ran into this the other day. I found a font I liked online, but was not sure how to gauge the height of the font and the placement of the text on the screen. I ended up using trial and error which kind of sucked due to the lengthy compile and upload process.
murraypaul last edited by
This is available in the TFT_eSPI base class to canvas, but is not exposed to us.
The following seems to work:
int height = ((TFT_eSPI&)Canvas).fontHeight();