Commit 1e152501 authored by Bodmer's avatar Bodmer

Fix issue #225

parent b93a40a5
......@@ -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
bool freeFont = (font == 1 && gfxFont && !fontLoaded);
#ifdef SMOOTH_FONT
bool freeFont = (font == 1 && gfxFont && !fontLoaded);
#else
bool freeFont = (font == 1 && gfxFont);
#endif
if (freeFont) {
cheight = glyph_ab * textsize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment