FS#11342 - bidi orientation
|
DetailsA mixed RTL with LTR text appears in a missed order not conforming to bidi logical to visual algorithm of unicdoe.
Implementation is ready in bidi_l2v() , but the "orientation" parameter is hardcoded and passed as "1" always A suggested solution is either pass "orientation" as 0 for any RTL text, or tie the orientation parameter with the "alignment" option of the text viewer. |
This task depends upon

How do other softwares handle this? string analysis to detect if any character comes from an RTL language?

some software leave it a manual option for the user (e.g. ctrl+shift switch in microsoft notepad) and others perform the auto-detect function (e.g. google chat text box in gmail corrects the orientation and alignment once an Arabic character is entered)