-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not change fonts #52
Comments
I can confirm this bug |
A workaround is to build the font before setup()
|
yes, font loading need to be done before setting up the |
Tried this, and been through all the docs I can find and cannot load any fonts. Would love too know how you get fonts to load. ------------------ this didn't work: A workaround is to build the font before setup() ImGui::CreateContext(); |
I'm still experiencing this issue. I tried @sphaero's workaround, but I can't change from the default monospace font. Is this still a known issue? |
It should work like charm in the develop branch, legacy has not evolved for a while ;) |
I try to load a CJK font after gui.setup() :
It seems that the font could be loaded, but the whole window texts remain the same as the original look. These code lines actually work well in the ImGui opengl demo examples.
And I try to load fonts in EngineGLFW.cpp:
This time, it got crashed by a segmentation fault.
I also tried to load another Latin-based font like ProggyClean.ttf companied with ImGui, and the problem remains the same.
The text was updated successfully, but these errors were encountered: