[HarfBuzz] [PATCH] Added an Indic shaper

Tom Hacohen tom.hacohen at partner.samsung.com
Thu Apr 21 08:01:21 PDT 2011


On Thu, 2011-04-21 at 15:54 +0100, Jonathan Kew wrote:
> I'm afraid this is _not_ sufficient to get correct rendering of most (all?) Indic scripts. In addition to the application of OpenType features, Indic scripts require reordering of certain characters; for example, some vowel marks such as the Devanagari short I are encoded following a consonant (cluster) but must be reordered before it for rendering. OpenType features do not handle this; it is the responsibility of the shaping engine.
> 
> Also, some of the OT features need to be applied selectively only to certain characters within the Indic syllable, not indiscriminately to all the text.
> 

Seeing the complexity of Harfbuzz.old's indic shaper, I figured as much,
but thanks for the verification. As I said, I can't read any of those,
and my tests "looked like pango" so I hoped everything was fine.

So what's next? How can I further advance the creation of a proper Indic
shaper? What do you guys do in Firefox?

Thanks,
Tom.




More information about the HarfBuzz mailing list