Loading Font Icons to Use with ImGui #120
-
I am trying to use font awesome icons, but my app crashes. I am using rocky with QT. I do not know if I am loading it in the proper place. Thanks.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I have not done much with ImGui fonts. Suggest you read the Fonts FAQ and see if there are any hints. You may have to call Build()? |
Beta Was this translation helpful? Give feedback.
-
The good news is that ImGui has a NEW dynamic font system, as of version 1.92.0 (https://github.com/ocornut/imgui/releases/tag/v1.92.0) The bad news is that 1.92.0 is not yet in vcpkg :) |
Beta Was this translation helpful? Give feedback.
I solved the problem by calling ImGui_ImplVulkan_CreateFontsTexture(); after adding the font. Didn't even need to call Build.