Skip to content

Commit

Permalink
fix: Force font atlas texture to not get too tall
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Oct 6, 2023
1 parent baa5c34 commit 5faf138
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/gui/source/init/tasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5faf138

Please sign in to comment.