[HarfBuzz] Mirroring brackets

Nicolas Lacombe n.lacombe at gmail.com
Sun Jan 17 14:06:30 PST 2010


Thanks for the answear.

Do you know a simple library we can use on top of harfbuzz to do bidi?

2010/1/16 hasen j <hasan.aljudy at gmail.com>

> Actually, Khadel answered me but it was apparently only sent to my email
>
> Yes, HarfBuzz doesn't do that, it's part of the bidi algorithm, not the
> shaping, and harfbuzz doesn't do bidi.
>
> 2010/1/15 Nicolas Lacombe <n.lacombe at gmail.com>
>
> no answear here?
>>
>> I ran into the same problem, actually I think it's because harfbuzz
>> interpret the bracket as a different cluster from Arabic. Thus, the bracket
>> are not mirrored. I guess it's therefore intended.
>>
>> 2009/12/27 hasen j <hasan.aljudy at gmail.com>
>>
>>>  I ran into a problem where it seemed like HarfBuzz wasn't doing any
>>> bracket mirroring for arabic runs/items, even though I set the
>>> item.bidiLevel to 1.
>>>
>>> When I looked at the code in harfbuzz-arabic.c, it seems to only do
>>> mirroring in non-OT mode.
>>>
>>>
>>>    #ifndef NO_OPENTYPE
>>>        ....
>>>        arabicSyrianOpenTypeShape(..) // doesn't do mirroring
>>>        ....
>>>        return
>>>    #endif
>>>
>>>        shapedString(..) // does mirroring
>>>
>>> Is this a bug or the intended behavior? I noticed google chrome on
>>> linux doesn't do bracket mirroring either.
>>> _______________________________________________
>>> HarfBuzz mailing list
>>> HarfBuzz at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20100117/c59ded8d/attachment.html>


More information about the HarfBuzz mailing list