New IDF with M5Stack Core2 #463
-
I just now updated my M5Stack Core2 with newest developper SW (dev20240905b).
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 driver (so the background is not drawn), while doing the right thing on other displays. The frequency import still is on my todo list. |
Beta Was this translation helpful? Give feedback.
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…