1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Force font atlas texture to not get too tall

This commit is contained in:
WerWolv 2023-10-06 10:57:48 +02:00
parent baa5c34b55
commit 5faf1380d7

View File

@ -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<ImWchar> ranges;