[HarfBuzz] bug in hb_ot_layout_lookup_collect_glyphs?

Behdad Esfahbod behdad at behdad.org
Wed Mar 19 16:21:49 PDT 2014

On 14-03-19 04:19 PM, Werner LEMBERG wrote:
> However, your ttx version simply accepts `glyph65535' in the GSUB
> substitution.  Do you *really* think this is OK?  At least ttx should
> emit a warning that this glyph doesn't exist and is never input to
> another substitution.

>From data I've seen in actual fonts, I believe there's a tool generating such
numbers when it's negating a glyph set or something.  Ie, when it wants to
represent "not {gid10}", it will generate the ranges [0,9] and [11,65535].
And there is nothing wrong with that according to the spec.


More information about the HarfBuzz mailing list