fix(bw): missing PT special chars handling (#4806)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
3djc
2024-03-27 10:49:25 +10:00
committed by GitHub
co-authored by philmoz
parent 904a9201e2
commit 325de78d0f
5 changed files with 10 additions and 0 deletions
+1
View File
@@ -309,6 +309,7 @@ void lcdDrawSizedText(coord_t x, coord_t y, const char * s, uint8_t len, LcdFlag
#if !defined(BOOT)
// UTF8 detection
c = map_utf8_char(s, len);
if (c >= 0x95 && FONTSIZE(flags)) c -=21;
if (!c) break;
if (c == 46 && FONTSIZE(flags) == TINSIZE) { // '.' handling