Fix issue #224
This commit is contained in:
parent
d18a5a0c8f
commit
3d5ff73690
|
|
@ -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
|
||||||
bool freeFont = (font == 1 && gfxFont && !fontLoaded);
|
#ifdef SMOOTH_FONT
|
||||||
|
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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue