path: root/scripts/lib/fontbuild/
diff options
authorJames Godfrey-Kittle <>2015-09-02 11:07:28 -0700
committerJames Godfrey-Kittle <>2015-09-02 11:07:28 -0700
commit0afea67e9943ee566eb52d7d0f95de5f8a358152 (patch)
treefd083f8686860a32e7fc8074a5aa1e08a1622a25 /scripts/lib/fontbuild/
parentda5a7c35c3bc024415ac521caf36d61e6e7d36cf (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/')
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/fontbuild/ b/scripts/lib/fontbuild/
index 490fe45..d1e870a 100644
--- a/scripts/lib/fontbuild/
+++ b/scripts/lib/fontbuild/
@@ -150,7 +150,7 @@ class FontProject:
swapContours(f, gname.replace(swap,""), gname)
for gname in self.predecompose:
if f.has_key(gname):
- decomposeGlyph(f[gname])
+ decomposeGlyph(f, gname)
log(">> Generating glyphs")
generateGlyphs(f, self.diacriticList, self.adobeGlyphList)
@@ -159,7 +159,7 @@ class FontProject:
log(">> Decomposing")
for gname in self.decompose:
if f.has_key(gname):
- decomposeGlyph(f[gname])
+ decomposeGlyph(f, gname)
setNamesRF(f, n, foundry=self.config.get('main', 'foundry'),
version=self.config.get('main', 'version'))