KrisKasprzak
Well-known member
All,
You may be aware of my FlickerFree library that lets you print text to a TFT LCD and avoids annoying text flickering upon updates.
Hot off the press is an updated version that now supports drawing text with RIGHT justification for both proportional or non-proportional fonts. Since this lib relies on getting text width, this code only works with libraries that have the measureTextWidth() method. This lib could easily be adapted to support Adafruit_GFX-based libs (getTextBounds methods) with a few changes.
Here's the repo
github.com
Have a flicker free day!
Kris
PS original FlickerFree repo: https://github.com/KrisKasprzak/FlickerFreePrint
You may be aware of my FlickerFree library that lets you print text to a TFT LCD and avoids annoying text flickering upon updates.
Hot off the press is an updated version that now supports drawing text with RIGHT justification for both proportional or non-proportional fonts. Since this lib relies on getting text width, this code only works with libraries that have the measureTextWidth() method. This lib could easily be adapted to support Adafruit_GFX-based libs (getTextBounds methods) with a few changes.
Here's the repo
GitHub - KrisKasprzak/ILI9341_FlickerFreePrint: This library will draw characters to an ILI9341 without flicker with LEFT or RIGHT justification
This library will draw characters to an ILI9341 without flicker with LEFT or RIGHT justification - KrisKasprzak/ILI9341_FlickerFreePrint
Have a flicker free day!
Kris
PS original FlickerFree repo: https://github.com/KrisKasprzak/FlickerFreePrint