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 15512ce commit 553f2a0Copy full SHA for 553f2a0
lib/fontsize/size.py
@@ -37,10 +37,4 @@ def _calc_table_sizes(self):
37
self.tables[table] = self.ttfont.reader.tables[table].length
38
39
def get_table_tags(self):
40
- if self.ttfont.reader:
41
- return list(self.ttfont.reader.keys())
42
- else:
43
- table_tags = list(self.ttfont.tables.keys())
44
- if "GlyphOrder" in table_tags:
45
- table_tags.remove("GlyphOrder")
46
- return table_tags
+ return [tag for tag in self.ttfont.keys() if tag != "GlyphOrder"]
0 commit comments