You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
rendering with 1.86.11:
rendering with 1.86.12:
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
The text was updated successfully, but these errors were encountered:
I was waiting for someone else's feedback on this topic because I also noticed this issue. (If it's not too much trouble, could you let me know which OS you're using?)
That said, I've looked into it a bit, and it appears there's a relatively simple way to use STB_TrueType and FreeType simultaneously. I think I'll adapt the API to support this option, making STB_TrueType the default. At least, that will be simpler than maintaining multiple libs. Will do for the next release.
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.
rendering with 1.86.11:
rendering with 1.86.12:
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
Relevant log output
No response
The text was updated successfully, but these errors were encountered: