glyf: add ensureDecompiled method
to 'expand' all the lazy glyphs
This commit is contained in:
parent
4119d8f582
commit
7f1e5e1fc7
@ -110,6 +110,9 @@ class table__g_l_y_f(DefaultTable.DefaultTable):
|
||||
if noname:
|
||||
log.warning('%s glyphs have no name', noname)
|
||||
if ttFont.lazy is False: # Be lazy for None and True
|
||||
self.ensureDecompiled()
|
||||
|
||||
def ensureDecompiled(self):
|
||||
for glyph in self.glyphs.values():
|
||||
glyph.expand(self)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user