Notepad icon indicating copy to clipboard operation
Notepad copied to clipboard

Writing direction and text alignment

Open AI-IMED opened this issue 4 years ago • 2 comments

When writing in one of the RTL languages ​​such as Arabic and without starting with a Latin word, there is no problem with the direction of writing and alignment of the text, but when you start with a Latin word followed by Arabic texts, the direction of writing becomes from left to right and alignment to the left, and this is a mistake. Note that the default (phone) system language is Arabic

This is a picture for comparison and illustration:

Screenshot_٢٠٢١٠٢١٤_٠٧١٢٠٤

I think even if this problem is fixed, another problem will appear which is that I will lose the right alignment when writing in Latin text only.

Screenshot_٢٠٢١٠٢١٣_١٣٤١٢٧

Can you fix these problems? Thanks

AI-IMED avatar Feb 14 '21 04:02 AI-IMED

What happened if you making use of bidirectional control characters?

KrasnayaPloshchad avatar Feb 14 '21 08:02 KrasnayaPloshchad

Since the program is based on the language of the phone, it is logical that the one who writes a note containing texts belonging to the system language, he wants all texts to follow the same direction and alignment of the system language, and this is what applies to the two-way text, I think this can help solve the problem

Is it possible to make the program understand that the written text that includes words belonging to the system language should follow the same direction and alignment as the system language?

AI-IMED avatar Feb 15 '21 06:02 AI-IMED