Fixes for hiroschima font

This commit is contained in:
2022-06-25 23:15:21 +02:00
parent cfc8dc2d6b
commit 7eac3fae5d
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -5041,7 +5041,7 @@ int16_t TFT_eSPI::drawString(std::string_view string, int32_t poX, int32_t poY,
if (padX && !_fillbg) _fillbg = true;
while (n < len) {
uint16_t uniCode = decodeUTF8((uint8_t*)ptr, &n, len - n);
uint16_t uniCode = decodeUTF8((const uint8_t*)std::begin(string), &n, len - n);
drawGlyph(uniCode);
}
_fillbg = fillbg; // restore state