[FriBidi] MS-Word bidirectional behaviour
Eduardo Castiñeyra
eduardo at brainstorm3d.com
Mon Dec 12 10:25:24 UTC 2016
On 12/10/2016 3:16 PM, Khaled Hosny wrote:
> On Fri, Dec 09, 2016 at 07:37:00PM +0100, Eduardo Castiñeyra wrote:
>> Hi guys,
>>
>> We have users in Iran who are complaining about our app not behaving the way
>> MS-Word does when it comes to directional ordering.
>>
>> In most applications, if one writes the sentence "In an attack of an F14 780
>> people died" in Persian with no RTL marks one gets the following:
>>
>> هواپیماهای F14 ۷۸۰ نفر را مصدوم کردند.
>>
>> Obviously the ۷۸۰ number is missplaced, it should be on the left side of
>> F14. Even if the numerals were Persian, most applications get the ۷۸۰ in the
>> wrong position, and so does FriBiDi.
> Note that Arabic-Indic digits (used in Arabic) and Extended Arabic-Indic
> digits (used in Persian) have different bidi categories (for reasons
> that escape me), if you use Arabic-Indic ٧٨٠ you get your expected
> position, so it might be that MS Word is giving both sets of digits the
> same bidi category (which, if true, wouldn’t be the first time it
> differs from the spec).
>
> Regards,
> Khaled
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fribidi
I've just tested it, how weird!
I'd better not comment this point to my Persian users.
Thanks!
More information about the fribidi
mailing list