-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version
1.86.12
What happened?
After upgrading to 1.86.12 (appreciate the work on the library again!), font rendering became markedly worse. This can be attributed to freetype, which actually seems to yield worse results despite my efforts to adjust hinting flags.
Not sure if there are any flags I can set to make it look okay – if not, it would be great to have a distribution without freetype.
Reproduction
var font = "/System/Library/Fonts/SFNSMono.ttf";
var fonts = ImGui.getIO().getFonts();
var cfg = new ImFontConfig();
cfg.setOversampleH(3);
cfg.setOversampleV(3);
cfg.setRasterizerMultiply(2f);
cfg.setPixelSnapH(true);
fonts.addFontFromFileTTF(font, 14, cfg);
Relevant log output
No response
ultraq
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working