From d36e299c3599a7abe8b3205a82ed1592bb2aa837 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 6 Oct 2023 14:28:10 +0200 Subject: [PATCH] fix: Cut font texture width in half --- main/gui/source/init/tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gui/source/init/tasks.cpp b/main/gui/source/init/tasks.cpp index 2d860eb96..2c9c86fe8 100644 --- a/main/gui/source/init/tasks.cpp +++ b/main/gui/source/init/tasks.cpp @@ -227,7 +227,7 @@ namespace hex::init { cfg.SizePixels = fontSize; fonts->Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight; - fonts->TexDesiredWidth = 8096; + fonts->TexDesiredWidth = 4096; // Configure font glyph ranges that should be loaded from the default font and unifont static ImVector ranges;