Unverified Commit 1f7ce88d authored by Bodmer's avatar Bodmer Committed by GitHub

Fix #1812

Result of "fillheight = gFont.maxAscent - gdY[gNum];" can be negative.
parent 24b0e888
...@@ -431,7 +431,7 @@ void TFT_eSPI::drawGlyph(uint16_t code) ...@@ -431,7 +431,7 @@ void TFT_eSPI::drawGlyph(uint16_t code)
startWrite(); // Avoid slow ESP32 transaction overhead for every pixel startWrite(); // Avoid slow ESP32 transaction overhead for every pixel
int16_t fillwidth = 0; int16_t fillwidth = 0;
uint16_t fillheight = 0; int16_t fillheight = 0;
// Fill area above glyph // Fill area above glyph
if (_fillbg) { if (_fillbg) {
......
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