GUI: make sure Λ is loaded

This commit is contained in:
tildearrow 2022-11-02 04:01:25 -05:00
parent 99db23d933
commit f69db930fc
1 changed files with 3 additions and 1 deletions

View File

@ -3344,7 +3344,9 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
}
}
if ((bigFont=ImGui::GetIO().Fonts->AddFontFromMemoryCompressedTTF(font_plexSans_compressed_data,font_plexSans_compressed_size,40*dpiScale))==NULL) {
// 0x39B = Λ
static const ImWchar bigFontRange[]={0x20,0xFF,0x39b,0x39b,0};
if ((bigFont=ImGui::GetIO().Fonts->AddFontFromMemoryCompressedTTF(font_plexSans_compressed_data,font_plexSans_compressed_size,40*dpiScale,NULL,bigFontRange))==NULL) {
logE("could not load big UI font!");
}