Use libschrift instead of Freetype for font rendering

This commit is contained in:
Maschell
2023-01-04 18:56:42 +01:00
parent 47a86a5102
commit e7186d67fb
6 changed files with 1642 additions and 39 deletions

View File

@@ -641,7 +641,10 @@ void ConfigUtils::openConfigMenu() {
OSScreenFlipBuffersEx(SCREEN_DRC);
DrawUtils::initBuffers(screenbuffer0, screen_buf0_size, screenbuffer1, screen_buf1_size);
DrawUtils::initFont();
if (!DrawUtils::initFont()) {
DEBUG_FUNCTION_LINE_ERR("Failed to init Font");
goto error_exit;
}
// disable the home button menu to prevent opening it when exiting
OSEnableHomeButtonMenu(false);