From 5faf1380d720129a6e263443755d068e712f0152 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 6 Oct 2023 10:57:48 +0200 Subject: [PATCH] fix: Force font atlas texture to not get too tall --- main/gui/source/init/tasks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/gui/source/init/tasks.cpp b/main/gui/source/init/tasks.cpp index 09832227e..93bde1a1e 100644 --- a/main/gui/source/init/tasks.cpp +++ b/main/gui/source/init/tasks.cpp @@ -227,6 +227,7 @@ namespace hex::init { cfg.SizePixels = fontSize; fonts->Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight; + fonts->TexDesiredWidth = 8096; // Configure font glyph ranges that should be loaded from the default font and unifont static ImVector ranges;