[glyf] Return component transform as part of control data
This makes sure that when we are building variable fonts, we check that all masters have the same component transform in composite glyphs. We were not checking for this before.
This commit is contained in:
parent
6fd5bc270e
commit
3d2fa8a342
@ -377,7 +377,7 @@ class table__g_l_y_f(DefaultTable.DefaultTable):
|
||||
numberOfContours=glyph.numberOfContours,
|
||||
endPts=list(range(len(glyph.components))),
|
||||
flags=None,
|
||||
components=[c.glyphName for c in glyph.components],
|
||||
components=[(c.glyphName, getattr(c, 'transform', None)) for c in glyph.components],
|
||||
)
|
||||
else:
|
||||
coords, endPts, flags = glyph.getCoordinates(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user