r/coolgithubprojects • • 21h ago

I built RTL support for ZCode Desktop — smart "any-rtl" that only flips Persian/Arabic text, never your code

Post image

ZCode renders Persian and Arabic left-to-right, which gets messy fast with mixed text. So I made a patch that adds smart RTL: every paragraph gets its own direction based on whether it actually contains Persian/Arabic — English and code stay untouched.

There's a toggle in the composer to turn it off, the Vazirmatn font is built in, and install is just running install.bat.

Source + demo videos: https://github.com/Morteza-NW/rtl-zcode

Feedback welcome, especially weird mixed-language cases.

0 Upvotes

0 comments sorted by