This commit is contained in:
Bodmer
2018-10-24 09:58:20 +01:00
parent b93a40a54f
commit 1e1525010e

View File

@@ -4160,7 +4160,11 @@ int16_t TFT_eSPI::drawString(const char *string, int poX, int poY, int font)
uint16_t cheight = 8 * textsize; uint16_t cheight = 8 * textsize;
#ifdef LOAD_GFXFF #ifdef LOAD_GFXFF
#ifdef SMOOTH_FONT
bool freeFont = (font == 1 && gfxFont && !fontLoaded); bool freeFont = (font == 1 && gfxFont && !fontLoaded);
#else
bool freeFont = (font == 1 && gfxFont);
#endif
if (freeFont) { if (freeFont) {
cheight = glyph_ab * textsize; cheight = glyph_ab * textsize;