[HarfBuzz] [PATCH] Added an Indic shaper

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


On Thu, 2011-04-21 at 16:17 +0100, Jonathan Kew wrote:
> Superficially, it may look "reasonable" at first glance, but I suspect that if you try a word like "Hindi" (हिन्दी) and compare it closely to Pango's rendering, you'll find that the initial pair of glyphs is coming out reversed.
> 

I guess people that can read the language will notice it immediately.
> Currently, we only use hb-ng for "simple" scripts and for Arabic (and its relatives - Syriac, N'ko), and fall back to platform shaping libraries (uniscribe/directwrite/coretext/pango) for Indic, etc.
Ouch.
> 
> I'm not sure how best to push this forwards. I made a start on a Devanagari shaper some time ago, but have not worked on it recently, and in the meantime there's been a lot of internal change in the hb-ng code, so none of what I did then will be directly usable now. I've passed it over to Behdad, but don't know if he's given any thought recently to how this will be managed within hb-ng. The internal API it uses to interact with the Arabic shaper is not sufficient to support Indic; some added "hooks" or whatever will be needed for the more complex processing model.

I.c, well I guess I'll just wait for Behdad's comment.

Thanks a lot,
Tom.




More information about the HarfBuzz mailing list