From 2fa565180f983e73556cc7b2049375bfb514e56a Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 21 Jan 2022 18:20:38 -0500 Subject: [PATCH] temporarily limit font range until I can load unifont dynamically to not run out of memory --- src/gui/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 108387260..925cba250 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -2282,7 +2282,8 @@ void FurnaceGUI::commitSettings() { e->switchMaster(); - static const ImWchar loadEverything[]={0x20,0xffff,0}; + // set to 800 for now due to problems with unifont + static const ImWchar loadEverything[]={0x20,0x800,0}; if (settings.mainFont<0 || settings.mainFont>=5) settings.mainFont=0; if (settings.patFont<0 || settings.patFont>=5) settings.patFont=0;