Non-ASCII Character Not Showing Up As Expected #4561
SimonMaracine
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 2 comments 3 replies
-
Maybe not relevant, but have you tried this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Make sure you're using the For example, this code: static void GH4561()
{
ImGui::Begin("GH-4561");
ImGui::Text("ăăăă");
ImGui::Text(u8"ăăăă");
ImGui::End();
} results in this UI: Assuming you're using a modern version of MSVC, you should get a warning for the first
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm loading my own font from disk and I want to render non-ASCII characters. The code works for Linux, but not on Windows. I specifically want to render "ă", but on Windows it shows up as a question mark ("?").
The version of ImGUI is 1.84.
Here is the code that runs as part of the setup:
Does anybody know what may be the problem?
I also tried moving ImGui_ImplOpenGL3_Init and ImGui_ImplGlfw_InitForOpenGL before building the font atlas, right after context creation, but it didn't solve anything.
Beta Was this translation helpful? Give feedback.
All reactions