Custom utf8 conversion replaces unconvertable chars with ? instead of blanks, #154

This commit is contained in:
Professr
2020-06-22 12:03:26 -07:00
parent ce9352fd23
commit d48e803b7b
2 changed files with 26 additions and 0 deletions

View File

@@ -499,6 +499,9 @@ void Screen::setup()
// Store a pointer to Screen so we can get to it from static functions.
ui.getUiState()->userData = this;
// Set the utf8 conversion function
dispdev.setFontTableLookupFunction(customFontTableLookup);
// Add frames.
static FrameCallback bootFrames[] = {drawBootScreen};
static const int bootFrameCount = sizeof(bootFrames) / sizeof(bootFrames[0]);