Add option to correct legacy Adafruit GLCD font bug
Raise issue
This commit is contained in:
1 parent
a79d6f14e2
commit
6e644c3e63
6 files changed
+16
-11
No files matched your search
@@ -2001,6 +2001,9 @@ void TFT_eSprite::drawChar(int32_t x, int32_t y, uint16_t c, uint32_t color, uin
|
||||
((y + 8 * size - 1) < (_vpY - _yDatum))) // Clip top
|
||||
return;
|
||||
|
||||
if (c > 255) return;
|
||||
if (!_cp437 && c > 175) c++;
|
||||
|
||||
bool fillbg = (bg != color);
|
||||
|
||||
if ((size==1) && fillbg)
|
||||
|
||||
Reference in new issue
Block a user