Can't load font from memory if FontDataOwnedByAtlas=true #6822
Closed
gucio321
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment 2 replies
-
Compiling I guess:
Your second parameter is wrong. It should be: Because of this the font fails to load. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Sorry If my question is stupid, but I have read everything in FONTS.md and can't see answer 😕
Here is what you need to reproduce:
(Its just ~copy-paste of what imgui_draw.cpp AddFontFromMemoryTTF does but with config.FontDataOwnedByAtlas set to false)
and demo crashes with message:
Beta Was this translation helpful? Give feedback.
All reactions