-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering U+0305 #7362
Comments
Forgot to tell, AddFontFromFileTTF is a version of ImFontAtlas::AddFontFromFileTTF that doesn't assert on failure:
|
Ok got it thanks. I'll try to look for a workaround. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version/Branch of Dear ImGui:
Version 1.90.5 WIP, Branch: docking
Back-ends:
imgui_impl_win32.cpp + imgui_impl_dx9.cpp
Compiler, OS:
Windows 11 + MSVC 2022
Full config/build information:
Details:
Rendering U+0305
Is it possible to render U+0305 (Combining Overline) with imgui? My string is written like this:
And I render it like this:
I've tried several fonts: C:\Windows\Fonts\segoeui.ttf, C:\Windows\Fonts\cambria.ttc, C:\Windows\Fonts\cour.ttf, DroidSans from misc/fonts.
I'm loading
0x3000, 0x036F Combining Diacritical Marks
range and0x2000, 0x206F General Punctuation
range.Screenshots/Video:
With cambria.ttc:
Minimal, Complete and Verifiable Example code:
My full font loading code:
And rendering:
The text was updated successfully, but these errors were encountered: