diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-09-02 11:07:28 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-09-02 11:07:28 -0700 |
commit | 0afea67e9943ee566eb52d7d0f95de5f8a358152 (patch) | |
tree | fd083f8686860a32e7fc8074a5aa1e08a1622a25 /scripts/lib/fontbuild/mix.py | |
parent | da5a7c35c3bc024415ac521caf36d61e6e7d36cf (diff) |
Don't use RGlyph.getParent.
Apparently this method returns a different font than we expect in
decomposeGlyph, probably due to the glyph copying we do when mixing
masters. The easiest thing to do is just not trust or use the method.
Diffstat (limited to 'scripts/lib/fontbuild/mix.py')
-rw-r--r-- | scripts/lib/fontbuild/mix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/fontbuild/mix.py b/scripts/lib/fontbuild/mix.py index 443dfeb..519b50d 100644 --- a/scripts/lib/fontbuild/mix.py +++ b/scripts/lib/fontbuild/mix.py @@ -249,7 +249,7 @@ class Master: size = len(g) csize = len(g.components) if (size > 0 and csize > 0): - decomposeGlyph(g) + decomposeGlyph(self.font, g.name) if overlayPath != None: overlayFont = OpenFont(overlayPath) |