diff --git a/Lib/fontTools/ttLib/ttGlyphSet.py b/Lib/fontTools/ttLib/ttGlyphSet.py index be26215b7..67cf4706c 100644 --- a/Lib/fontTools/ttLib/ttGlyphSet.py +++ b/Lib/fontTools/ttLib/ttGlyphSet.py @@ -153,6 +153,7 @@ def _setCoordinates(glyph, coord, glyfTable): if glyph.isComposite(): assert len(coord) == len(glyph.components) + glyph.components = [copy(comp) for comp in glyph.components] for p,comp in zip(coord, glyph.components): if hasattr(comp, 'x'): comp.x,comp.y = p