Don't renumber MarkGlyphSetsDef
This commit is contained in:
parent
f41056dc76
commit
05da970fec
@ -1108,7 +1108,9 @@ def subset_glyphs(self, s):
|
|||||||
if hasattr(table, "MarkGlyphSetsDef") and table.MarkGlyphSetsDef:
|
if hasattr(table, "MarkGlyphSetsDef") and table.MarkGlyphSetsDef:
|
||||||
for coverage in table.MarkGlyphSetsDef.Coverage:
|
for coverage in table.MarkGlyphSetsDef.Coverage:
|
||||||
coverage.subset(glyphs)
|
coverage.subset(glyphs)
|
||||||
table.MarkGlyphSetsDef.Coverage = [c for c in table.MarkGlyphSetsDef.Coverage if c.glyphs]
|
# TODO: The following is disabled. If enabling, we need to go fixup all
|
||||||
|
# lookups that use MarkFilteringSet and map their set.
|
||||||
|
#indices = table.MarkGlyphSetsDef.Coverage = [c for c in table.MarkGlyphSetsDef.Coverage if c.glyphs]
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@_add_method(ttLib.getTableClass('GDEF'))
|
@_add_method(ttLib.getTableClass('GDEF'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user