summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/decomposeGlyph.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-02-22 12:57:14 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:31 -0700
commit5cf4cd8b457bf3c6fa7b4f46b1ed4dfd542e5139 (patch)
tree6907833ecaff6919ef7ea8f50c2a41a799f5eb2d /scripts/lib/fontbuild/decomposeGlyph.py
parent042986cb67b530d2f55df82cab8872a4cb737615 (diff)
Move after scaling during decomposition.
Diffstat (limited to 'scripts/lib/fontbuild/decomposeGlyph.py')
-rw-r--r--scripts/lib/fontbuild/decomposeGlyph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/fontbuild/decomposeGlyph.py b/scripts/lib/fontbuild/decomposeGlyph.py
index a098968..2d7537c 100644
--- a/scripts/lib/fontbuild/decomposeGlyph.py
+++ b/scripts/lib/fontbuild/decomposeGlyph.py
@@ -6,7 +6,7 @@ def decomposeGlyph(glyph):
componentGlyph = font[component.baseGlyph]
for contour in componentGlyph:
contour = contour.copy()
- contour.move(component.offset)
contour.scale(component.scale)
+ contour.move(component.offset)
glyph.appendContour(contour)
glyph.clear(contours=False, anchors=False, guides=False)