Skip to content

New IDF with M5Stack Core2 #463

Answered by dl9rdz
Pedritoprint asked this question in Q&A
Discussion options

You must be logged in to vote

This was a strange effect on the M5Stack display that is not showing on the other TFT displays. Something apparently changed in the TFT library.... But I have implemented some workaround for that problem.

(While I do search all font glyphs for the real "baseline" of a font, the library does it differently by just randomly assuming the baseline is at 2/3 of the font hight. So we ended up with slightly different values, which resulted in the text begin placed at the very edge of the display. Which looked fine, but for clearing the background, the display actually tries drawing the background starting at y=-2, which is off the edge of the display. Seems like this just fails on the ILI9342 dr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pedritoprint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants