[FriBidi] bidi mirror

Eli Zaretskii eliz at gnu.org
Wed Mar 29 14:35:49 UTC 2017


> From: Eduardo CastiƱeyra <eduardo at brainstorm3d.com>
> Date: Wed, 29 Mar 2017 12:13:59 +0200
> 
> > That page says "Not yet updated for the changes in Unicode 6.3!",
> > which means the Bidirectional Parentheses Algorithm (BPA) is not
> > accounted for.  The BPA causes the text to be rendered reasonably,
> > with parentheses mirrored as expected.  E.g., try that in a recent
> > enough Emacs.
> >
> I think I didn't ask the correct question. The problem is not the 
> parenthesis not flipping but the fact that the last parenthesis level is 
> odd, which causes:
> 
> 1) The parenthesis being shown at the beginning of the sentence.
> 2) fribidi_shape_mirroring flipping the parenthesis when it shouldn't

The BPA introduced in Unicode 6.3 fixes that: it causes the level of
the last parenthesis to be such that the parenthesized text stays
parenthesized on display.

> What about Fribidi? Doesn't it implement U6.3 ?

Evidently, not yet.


More information about the fribidi mailing list