Skip to content

Commit 39333f5

Browse files
committed
'twas throwing up a variable undefined error
1 parent 7db5622 commit 39333f5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Batch.roboFontExt/lib/variableFontGenerator/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ def makeMasterGlyphsCompatible(self):
461461
self.generateReport.write("Adding missing glyph '%s' in master '%s %s (%s)'" % (glyphName, master.font.info.familyName, master.font.info.styleName, master.name))
462462
# add the glyph to the master
463463
master.newGlyph(glyphName)
464+
glyph = master[glyphName]
464465
result.extractGlyph(master[glyphName], onlyGeometry=True)
465466
glyph.unicodes = list(result.unicodes)
466467
glyphs.append(master[glyphName])

0 commit comments

Comments
 (0)