sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
801 stars 35 forks source link

Support RTL texts #5849

Open 0xdolan opened 1 year ago

0xdolan commented 1 year ago

Problem description

The problems with RTL (Right-to-Left) texts in Sublime Text have still not been resolved after years, which is quite aggravating. I am aware that there are various forks and plug-ins for Arabic and Persian, including (https://github.com/praveenvijayan/Sublime-Text-2-BIDI). Kurdish characters (https://0xdolan.github.io/kurdish-alphabet/) are still not supported, nevertheless. For the correct texts to be displayed, even this plug-in must change the font to something like Arial (though I still like Vazir Code)! I must use a programming font instead of Arial when I code! Here is the most recent version of Sublime Text (Build 4143), which still does not support RTL text after a millennium!

Screenshot 2023-01-30 203329

Preferred solution

As is the case in Visual Studio Code, we ought to be able to handle different typefaces simultaneously. We have a list of fonts, the first of which is the programming font. If the programming font is unable to accommodate a certain character, the next font in the list will do so, and we may use both the programming font and other fonts such as Arial or Vazir code. Additionally, Sublime Text should integrate RTL support to its code rather than relying on an outdated plug-in to resolve such a significant problem for RTL users!

Alternatives

Use a plug-in with continuously updating and fixing the faults in the worst-case scenario! It is not recommended and even it is not practical!

Additional Information

No response

deathaxe commented 1 year ago

Duplicate of #109

0xdolan commented 1 year ago

Duplicate of #109

The Kurdish support requires additional work because the plug-ins that addressed their problems in Arabic and Persian have not yet been adapted to operate with Kurdish.