[FriBidi] fribidi_reorder_runs()

Eduardo CastiƱeyra eduardo at brainstorm3d.com
Wed Feb 8 15:59:04 UTC 2017



On 2/7/2017 5:19 PM, Eli Zaretskii wrote:
>> From: Eduardo CastiƱeyra <eduardo at brainstorm3d.com>
>> Date: Tue, 7 Feb 2017 16:39:01 +0100
>>
>> It turned out that our incorrect way to integrate fribidi and harfbuzz
>> (let fribidi reorder all the characters and shape as full LTR in
>> harfbuzz) is "surprisingly" causing problems.
>>
>> The problem is mainly with the parenthesis. It looks like the shaper
>> should flip the direction of the parenthesis when it belongs to a RTL run.
> Shouldn't reordering mirror parentheses if their level is even?

AFAIK, parenthesis are neutral, they inherit the direction of the text 
surrounding them


More information about the fribidi mailing list