mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
temporarily limit font range
until I can load unifont dynamically to not run out of memory
This commit is contained in:
parent
724b1cd1a8
commit
2fa565180f
1 changed files with 2 additions and 1 deletions
|
@ -2282,7 +2282,8 @@ void FurnaceGUI::commitSettings() {
|
||||||
|
|
||||||
e->switchMaster();
|
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.mainFont<0 || settings.mainFont>=5) settings.mainFont=0;
|
||||||
if (settings.patFont<0 || settings.patFont>=5) settings.patFont=0;
|
if (settings.patFont<0 || settings.patFont>=5) settings.patFont=0;
|
||||||
|
|
Loading…
Reference in a new issue