-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add support for Bi-directional text for RTL languages #663
Comments
This would be amazing. |
It is a LGPL library. We can use unicode-bidi instead. |
I started gathering the summary gist (like I did with true color one) and linked this issue in it https://gist.github.com/XVilka/a0e49e1c65370ba11c17 |
This would be great to have. |
Draft and discussion about this in terminal-wg (Please coordinate if you are going to implement anything with bidi) |
@textshell and others, it was mentioned in ligatures bug - #50, seems like skribo is good choice for solving BiDi problem in Alacritty too. It was created by Mozilla and in pure Rust. Please take a look. |
skribo is about beautiful rendering of glyphs. BiDi in terminal emulators needs to be addressed beginning with way more fundamental issues, like making sure that the characters appear in the correct order and not reversed, and knowing whose responsibility (the terminal's or the emitting app's) it is to render from right to left. This is what my work aims to address, which I forgot to mention from here, but @textshell did, thanks for that. On top of that, once you know where each character needs to appear, you can of course use whichever technique (harfbuzz, skribo etc.) to make them render as beautifully as you can. |
You can now check the VTE implementation: https://terminal-wg.pages.freedesktop.org/bidi/implementations.html#vte |
Note, that with the release of GNOME 3.34 the support of BiDi by @egmontkob is available in Gnome Terminal out of the box, which makes testing/implementing it in the other programs easier. |
Currently kitty supports Bi-directional texts too. |
To elaborate, kitty messes up word order and alignment, but letters within words behave as expected. |
Any updates on this? |
This is a very much needed "feature". |
Why did noboddy do this yet?? |
Why haven't you done it yet? |
Is there any temp solution, I need this for vim |
Yes, use a different terminal, for example kitty. |
I think I will continue with konsole, thanks |
im switching to a new terminal, can't code in vim if the language differs |
na babba!!! |
6 years later, this issue is still very relevant, please implement. |
Is there any update on this feature? |
I'd say there's extremely little interest in adding this to Alacritty. If this is important to you, I recommend using a different terminal emulator. |
@niceiq |
Is this project open to accept a potential implementation? |
It is very unlikely an outside contributor would be capable of sending a PR that would get accepted. |
Maybe pop-os/cosmic-term's implementation will help when it's done. After all they are relaying on alacritty_terminal.
But I don't know how it works, maybe It will not. Edited: I tried it, and I can say that it's the best terminal for the Arabic language. |
almost 7 year issue, is there any progress on this? |
|
Why hasn't this been implemented? |
I installed cosmic terminal (cosmic-term-git in the aur) and it doesn't only render arabic correctly it even has a scroll bar and it's GPU accelerated which is insane!!! |
using
fribidi
The text was updated successfully, but these errors were encountered: