Merge pull request #1433 from fonttools/maxp-recalc

[maxp] Include 'maxComponentElements' in the table's recalculation
This commit is contained in:
Miguel Sousa 2019-01-09 03:13:14 -08:00 committed by GitHub
commit eb13709d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,7 @@ class table__m_a_x_p(DefaultTable.DefaultTable):
self.maxContours = maxContours
self.maxCompositePoints = maxCompositePoints
self.maxCompositeContours = maxCompositeContours
self.maxComponentElements = maxComponentElements
self.maxComponentDepth = maxComponentDepth
if allXMinIsLsb:
headTable.flags = headTable.flags | 0x2