Insert empty widths into hdmx when retaining gids.
This commit is contained in:
parent
6367810c0e
commit
d376057fb6
@ -1730,6 +1730,9 @@ def subset_glyphs(self, s):
|
||||
@_add_method(ttLib.getTableClass('hdmx'))
|
||||
def subset_glyphs(self, s):
|
||||
self.hdmx = {sz:_dict_subset(l, s.glyphs) for sz,l in self.hdmx.items()}
|
||||
for sz in self.hdmx:
|
||||
for g in s.glyphs_emptied:
|
||||
self.hdmx[sz][g] = 0
|
||||
return bool(self.hdmx)
|
||||
|
||||
@_add_method(ttLib.getTableClass('ankr'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user