[FriBidi] embedded levels of a string with parenthesis
Behdad Esfahbod
behdad at behdad.org
Thu Sep 27 15:25:19 PDT 2012
That's standard behavior. It's broken, I know. But that's what the Unicode
standard requires.
http://unicode.org/reports/tr9/
There's work being pushed by Microsoft to address this in the next version of
Unicode though. In the mean time, bidi formatting characters are your friend.
behdad
On 09/27/2012 12:33 PM, Samiullah Khawaja wrote:
> Hi,
>
> When I use the string "hello (world) مرحبا العالم" in fribidi it gives be
> base_direction = RTL and generates the embedded levels. It generates the
> embedded level of the ")" after "world" equal to 1.
>
> Is this correct? I think it should be equal to 2. as the it is part of the
> embedded English (LTR) text. Note that the text is starting with arabic and
> then ending on the ")" in string array.
>
> --
> Samiullah Khawaja
>
>
>
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fribidi
More information about the fribidi
mailing list