[HarfBuzz] Hebrew composition to presentation forms

Behdad Esfahbod behdad at behdad.org
Tue Feb 18 21:57:25 CET 2014

On 14-02-02 08:31 AM, Khaled Hosny wrote:
> On Sun, Feb 02, 2014 at 09:45:16AM +0000, Jonathan Kew wrote:

>> As for what harfbuzz should do: currently, it deliberately uses the
>> precomposed Hebrew presentation-form glyphs, because there are many
>> (generally older) fonts out there that lack good (or any) mark positioning
>> rules, and so decomposed sequences look terrible. Using the presentation
>> forms gives a much better result.
>> However, perhaps we should try to be more sophisticated, and do something
>> like "compose to the presentation forms if the font doesn't have GPOS mark
>> positioning; otherwise prefer decomposed sequences".
> Yes, this what I had in mind, similar to what HarfBuzz currently does
> for Arabic presentation forms shaping.

Fixed.  Only tries composing if font doesn't have a 'mark' feature (GPOS or GSUB).


More information about the HarfBuzz mailing list