-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Bidirectional text support #1016
Comments
Implementing right-to-left is a lot of work (I know, I've done it before). I rather switch egui to use a crate that does it all for me. I'm not sure which though. I haven't looked at the alternatives in a long while, but I've been keeping my eye on https://github.com/dfrg/swash by @dfrg (https://github.com/dfrg/swash_demo is very impressive). |
Related to #56 |
@emilk Did you make a decision on this ? Any ETA ? |
No, I have other things higher on my priority list right now. What's needed first is a bit of research in different text rendering/layout libraries (I mentioned swash above, but there might be other ones to check out). |
Hello! Any plans for this? |
can't cosmic text be used for egui ? |
Yes, and cosmic text may help with rendering quality as mentioned in #2639 (comment) |
bump Are there any plans so far? |
Bump |
There's no plans to implement this in egui right now (it is a lot of work). I rather switch out the text layout and rendering in egui than work on it further. I am curious to investigate if cosmic text would be a good fit. |
So far cosmic text's roadmap seems to be almost done. I was thinking of giving it a try and sort of maybe hack a fix into egui later on. Can I post updates here or...somewhere else? |
That sounds great @ElhamAryanpur ! I suggest opening a new issue here specifically about Cosmic Text and then posting your updates there! On of the things I'm curious about is how Cosmic Text does its text rendering |
Describe the solution you'd like
I'd love to be able to write in RTL languages like Arabic and Persian.
Describe alternatives you've considered
there are tools to reverse RTL languages letters like this for Arabic but in egui I cant write RTL letters
Additional context
The text was updated successfully, but these errors were encountered: