can't use fonts #6878
huanmoon
started this conversation in
Build/Link/Run/Fonts issues ONLY!
can't use fonts
#6878
Replies: 1 comment
-
You are not being specific with your question. Have you carefully checked the Troubleshooting guide? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use a font from ttf file.
ImGuiIO& io = ImGui::GetIO();
io.Fonts -> AddFontFromFileTTF("misc/fonts/DroidSans.ttf", 1.0f, NULL, io.Fonts->GetGlyphRangesChineseFull());
I used AddFontFromFileTTF, but it doesn't work at all.
I'm sure that I didn't type the wrong name of the file
Beta Was this translation helpful? Give feedback.
All reactions