From bb56ddb971b9d3d885a9243f37c642d5f922c66f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 Sep 2013 16:33:11 -0400 Subject: [PATCH] Fix composite glyph coordinate routines Ouch, was modifying the component's own coordinates before. --- Lib/fontTools/ttLib/tables/_g_l_y_f.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/fontTools/ttLib/tables/_g_l_y_f.py b/Lib/fontTools/ttLib/tables/_g_l_y_f.py index 9901a6331..f5ab386d5 100644 --- a/Lib/fontTools/ttLib/tables/_g_l_y_f.py +++ b/Lib/fontTools/ttLib/tables/_g_l_y_f.py @@ -579,6 +579,7 @@ class Glyph: else: move = compo.x, compo.y + coordinates = GlyphCoordinates(coordinates) if not hasattr(compo, "transform"): coordinates.translate(move) else: