vincentdchan / CubyText

An open-source knowledge management app.
MIT License
706 stars 29 forks source link

supporting mixed RTL/LTR #1

Open Hashemian01 opened 2 years ago

Hashemian01 commented 2 years ago

The editor does not support mixed RTL/LTR environments. languages like Persian, Arabic and Hebrew are written from Right-to-left. However, people who write in these languages usually need a mixed RTL/LTR environment as they may have LTR paragraphs (like quotes, code blocks, math equations, etc) along with their RTL texts. Therefore, each paragraph needs to have its own direction that can be set manually (like Google Docs) or automatically (like Dropbox Paper).

image

vincentdchan commented 2 years ago

Wow. Thanks for your feedback.

I am not an expert in handling LTR text. I need to learn knowledge about this.

If anybody has experience in handling this, please tell me how to do it.

bugcrazy commented 1 year ago

Wow. Thanks for your feedback.

I am not an expert in handling LTR text. I need to learn knowledge about this.

If anybody has experience in handling this, please tell me how to do it.

Harfbuzz is used texts non -latin characters and written LTR.

https://github.com/harfbuzz/harfbuzz

https://github.com/harfbuzz

For user manual as well as API documentation, check: https://harfbuzz.github.io/