Troubles loading and merging Font Awesome 5 #4499
Replies: 2 comments 3 replies
-
Hello! |
Beta Was this translation helpful? Give feedback.
-
Apparently, the fonts are loaded by ImGui just as expected. I suspect there might be an issue with headers, like @ocornut mentioned. |
Beta Was this translation helpful? Give feedback.
-
Hello!
Im rather new to ImGui and i am just playing around with basic settings of GUI itself.
I am well aware you have examples of how to do exactly this at FONTS.md, but i still somehow cannot load and merge Font Awesome!
I successfully loaded Segoeui as my default display font, and Font Awesome seems to load and everything compiles and everything works normally except my icon shows up as question mark. I also tried loading font awesome from memory using
io.Fonts->AddFontFromMemoryCompressedBase85TTF()
and converting fa-regular-400.ttf to base85 encoded C style byte array. That also yield the very same result, and no errors! Why is that?This is my "do once" setup in infinite loop:
And drawing it like this:
Where RenderGUI() is:
Beta Was this translation helpful? Give feedback.
All reactions