mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-10 08:04:43 +02:00
@@ -4160,11 +4160,7 @@ 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;
|
||||||
|
Reference in New Issue
Block a user