[subset] Handle a null-offset error in MarkLigPos
As reported by @rsheeter.
This commit is contained in:
parent
6e1f55b0c8
commit
1d0f3c27fc
@ -870,6 +870,7 @@ def subset_glyphs(self, s):
|
||||
for m in self.MarkArray.MarkRecord:
|
||||
m.Class = class_indices.index(m.Class)
|
||||
for l in self.LigatureArray.LigatureAttach:
|
||||
if l is None: continue
|
||||
for c in l.ComponentRecord:
|
||||
c.LigatureAnchor = _list_subset(c.LigatureAnchor, class_indices)
|
||||
return bool(
|
||||
|
Loading…
x
Reference in New Issue
Block a user