diff --git a/src/lgfx/v1/lgfx_fonts.cpp b/src/lgfx/v1/lgfx_fonts.cpp index 7615717..4092c48 100644 --- a/src/lgfx/v1/lgfx_fonts.cpp +++ b/src/lgfx/v1/lgfx_fonts.cpp @@ -886,10 +886,7 @@ namespace lgfx int32_t sy = 65536 * style->size_y; y += (metrics->y_offset * sy) >> 16; - if (code == 0x20) { - gNum = 0xFFFF; - buffer[2] = getSwap32(this->spaceWidth); - } else if (!this->getUnicodeIndex(code, &gNum)) { + if (!this->getUnicodeIndex(code, &gNum)) { return drawCharDummy(gfx, x, y, this->spaceWidth, metrics->height, style, filled_x); } else { file->preRead();