Behdad Esfahbod
Behdad Esfahbod
How would `--threshold` work?
Okay thanks. I'll see what I can do.
> > I think we should just always sort the glyphs by gid regardless ... > > actually, it's not that easy, because changing the Coverage glyphs order also changes...
> Now, we do have code to fix this for Format2 Coverage tables (range-based), but we don't also fix it for simple Format1 Coverages: It's better than you think. If...
> Once we are convinced that code works well we could consider upstreaming. Yes please. We also need this in the merger.
> whereby glyphs defined within the same OT-SVG document must have contiguous glyph indexes (being referenced as ranges with min/max glyph IDs). Is this true? Different ranges can have the...
You're right. The components are in a separate entry I think? The dx,dy get encoded in the points I believe.
It's not just component flags. We don't check that the component transformation, if any, other than translate, is the same either.
> It's not just component flags. We don't check that the component transformation, if any, other than translate, is the same either. Nevermind. I fixed that before: https://github.com/fonttools/fonttools/blob/1c283756a5e39d69459eea80ed12792adc4922dd/Lib/fontTools/ttLib/tables/_g_l_y_f.py#L402
Should be removed.