DrawString make text flicker with FreeFont #2535
-
Hi. I'm trying to center my text on the screen and I found a solution here on the forum
But when I use a FreeFont the text flicker. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The only way around this is to render the font in a sprite and then push on each update. Smooth fonts should render with less flicker. |
Beta Was this translation helpful? Give feedback.
-
ok thanks. But the problem I have is if I want to have the hole screen I don't have enought ram in the ESP32. |
Beta Was this translation helpful? Give feedback.
-
For smooth fonts you need to pass an extra parameter to setTextColor() in order to include background updates. |
Beta Was this translation helpful? Give feedback.
The only way around this is to render the font in a sprite and then push on each update. Smooth fonts should render with less flicker.