![]() This makes rendering background too a pain but this is achieved in the 16bit libraries mentioned above by determining the string length in pixels then doing a block I couldn't get your font library to work. The Adafruit FreeFont format does something no other TFT library does and that is handle characters that overlap, ie in an italic font the tail of a "y" tucks under the previous character. Running the TFT_Char_Time example in the TFT_ST7735 library should give figures in the range 0.2ms per character for a numeral the small adafruit GLCD font, up to 10.1ms for the extra large custom Font 8 which has 72 pixel high characters.Īt the moment the TFT_ST7735 library does not support the FreeFonts format, however the Mega and Due 16 bit libraries do. As a performance comparison if all the delays are taken out the graphicstest example that is built into the Adafruit_ST7735 library it completes the test in 8.62s, if you run the same test on the TFT_ST7735 library (called graphicstest_small) it runs in 1.707s which is a remarkable 5x faster. Something must be wrong with your setup if this library is running slow. I know the GFX rendering is a pain in the arse for fonts and I prefer how bodmer's works with the background color of the font but sadly his renders a LOT slower on my ST7735R. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |