FS#11342 - bidi orientation

Attached to Project: Rockbox
Opened by Amr Medhat (amr) - Monday, 31 May 2010, 20:09 GMT
Task Type Bugs
Category User Interface
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


A 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

Comment by Rafaël Carré (funman) - Friday, 25 June 2010, 23:09 GMT
How do other softwares handle this? string analysis to detect if any character comes from an RTL language?
Comment by Amr Medhat (amr) - Saturday, 26 June 2010, 16:14 GMT
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)