mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-07 14:44:43 +02:00
Fix issue #224
This commit is contained in:
@@ -4160,7 +4160,11 @@ int16_t TFT_eSPI::drawString(const char *string, int poX, int poY, int font)
|
||||
uint16_t cheight = 8 * textsize;
|
||||
|
||||
#ifdef LOAD_GFXFF
|
||||
#ifdef SMOOTH_FONT
|
||||
bool freeFont = (font == 1 && gfxFont && !fontLoaded);
|
||||
#else
|
||||
bool freeFont = (font == 1 && gfxFont);
|
||||
#endif
|
||||
|
||||
if (freeFont) {
|
||||
cheight = glyph_ab * textsize;
|
||||
|
Reference in New Issue
Block a user