<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Well, almost. There are actually two issues. One is that since the Unicode version 6.3, there is a new rule N0, in which parenthesis take up a more active meaning, and are no longer "passively" neutral. (Unfortunately, this version of fribidi has not been finished yet.) The second issue is the issue of mirroring, which is done after the direction of parenthesis has been determined. If the resolved direction of a parenthesis is odd, then it is expected that the render engine replace its shape, with that of its mirror.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dov<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 4:59 PM, Eduardo CastiƱeyra <span dir="ltr"><<a href="mailto:eduardo@brainstorm3d.com" target="_blank">eduardo@brainstorm3d.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 2/7/2017 5:19 PM, Eli Zaretskii wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Eduardo CastiƱeyra <<a href="mailto:eduardo@brainstorm3d.com" target="_blank">eduardo@brainstorm3d.com</a>><br>
Date: Tue, 7 Feb 2017 16:39:01 +0100<br>
<br>
It turned out that our incorrect way to integrate fribidi and harfbuzz<br>
(let fribidi reorder all the characters and shape as full LTR in<br>
harfbuzz) is "surprisingly" causing problems.<br>
<br>
The problem is mainly with the parenthesis. It looks like the shaper<br>
should flip the direction of the parenthesis when it belongs to a RTL run.<br>
</blockquote>
Shouldn't reordering mirror parentheses if their level is even?<br>
</blockquote>
<br></span>
AFAIK, parenthesis are neutral, they inherit the direction of the text surrounding them<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
fribidi mailing list<br>
<a href="mailto:fribidi@lists.freedesktop.org" target="_blank">fribidi@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/fribidi" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/fribidi</a><br>
</div></div></blockquote></div><br></div>