recalc numGlyphs upon writing
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@404 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
d407973545
commit
07dd0e4504
@ -43,6 +43,7 @@ class table__m_a_x_p(DefaultTable.DefaultTable):
|
||||
self.recalc(ttFont)
|
||||
else:
|
||||
pass # CFF
|
||||
self.numGlyphs = len(ttFont.getGlyphOrder())
|
||||
if self.tableVersion != 0x00005000:
|
||||
self.tableVersion = 0x00010000
|
||||
data = sstruct.pack(maxpFormat_0_5, self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user