Open FlogramMatt opened 3 years ago
Can't PushFont
You are not providing any information about this. As instructed in the issue guidelines, if something asserts or crash please provide detailed information about what's happening.
I believe PushFont()
needs to be called during the imgui frame so after NewFrame()
Version/Branch of Dear ImGui:
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_implopengl3.cpp (or specify if using a custom engine/back-end)_ Compiler: Clang Operating System: Windows 10
My Issue/Question:
Can't PushFont, even though I've called "AddFontFromFileTTF" and "Build"
Interestingly if I run the same code but remove "PushFont", it seems to be loading the font correctly, Which is fine for me but still a bug, so I'll leave this open.
One other issue though, font seems a little blurry.
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see https://github.com/ocornut/imgui/issues/2261)