We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7eb48d commit 8d4a341Copy full SHA for 8d4a341
lib/fontsize/size.py
@@ -34,7 +34,7 @@ def _calc_per_total_glyph_size(self):
34
def _calc_table_sizes(self):
35
tables = self.get_table_tags()
36
for table in tables:
37
- self.tables[table] = len(self.ttfont.getTableData(table))
+ self.tables[table] = self.ttfont.reader.tables[table].length
38
39
def get_table_tags(self):
40
if self.ttfont.reader:
0 commit comments