-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Support for rtl text, and right-to-left languages #1228
Comments
Hello Alex, |
That's too bad, as it limits the inclusion in more serious tools. As an example, solvespace, which is having to choose between
and
I'm advocating for ImGui, since portability is one of their big goals and I think OS specific UI toolkits are going to suck. But they're big on accessibility and internationalization, trying to make a good, easy to use, open source CAD. Done right, this should save them a bunch of time, time that they can focus on making their project good. So the big questions are
|
Probably/perhaps, if you are willing to dig into the font/text code, but I expect going from the quickly hacked version to the full internationally compliant version would be rather hard. If you are thinking Arabic for example, it's not just right-to-left (which would be the simple part), but things like bi-directional support and text shaping would be required.
Definitively not on Master (because Harfbuzz is a non-trivial complex dependency). I realize it's frustrating, but dear imgui is a small library developed mostly on my spare time with limited resources, and even if that sort of feature was easily reachable (which it isn't) I would maybe argue it isn't in the library or my interest to try being a replacement for e.g. QT because I don't have the resources to stretch it to satisfy everyone's needs. |
Yep, maybe if someone has time to implement that, it could be included in imgui_club. |
Closing this as dropped.
It'll most probably have to be a core element. |
it is possible to use hebrew and RTL with these steps then when calling ImGui.Text() I did not test this on text input see my example thanks to @harelw |
Or google-able documentation of same.
The text was updated successfully, but these errors were encountered: