[HarfBuzz] Fwd: Re: Support for Khojki in HarfBuzz

Behdad Esfahbod behdad at behdad.org
Thu Mar 21 14:00:48 PDT 2013

On 13-03-19 11:40 AM, Anshuman Pandey wrote:
> On Tue, Mar 19, 2013 at 2:31 AM, Jonathan Kew <jfkthame at googlemail.com> wrote:
>> If no reordering is needed (you mentioned that the short-i matra does not
>> reorder; is there a reph?), then I think it would be best to target the
>> generic shaper, and to use 'rlig' (and not 'akhn', which won't be applied by
>> default) for all the ligated forms you need.
>> JK
> There is no reordering of the short-i matra in Khojki; it is written
> to the right of the base letter or forms a ligature with the base
> letter. Regarding repha: there is no formal rule; it may occur as the
> Devanagari style repha or it may not be represented at all.

Devanagari-style repha may need code in HarfBuzz.  Otherwise, as Jonathan
said, one can use the "generic" shaper.  Which means, no explicit support
would need to be added to HarfBuzz whatsoever.

> Regarding your recommendation not to use 'akhn'. I thought that this
> feature should be applied to ligatures such as the Devanagari 'kssa'
> (<KA, VIRAMA, SSA>) and 'jnya' (<JA, VIRAMA, NYA>).

Yes, because there's an Indic OpenType spec saying so.  The generic shaper
however, doesn't do 'akhn'.  Just use 'rlig' as Jonathan suggested, use the
'DFLT' script, and test with HarfBuzz.  It should work already.


> I think those are the main details. Here is the link to the final
> proposal I wrote for Khojki:
>     http://std.dkuug.dk/JTC1/SC2/WG2/docs/n3978.pdf
> Please let me know if there is anything I can do to help with the
> implementation of Khojki. I have proposed several other scripts for
> inclusion in Unicode and it would be wonderful if support for these
> scripts in Harfbuzz could coincide with the official publication of
> the standard for each...
> Best,
> Anshuman


More information about the HarfBuzz mailing list