otTables: set CompCount in LigatureSubst.fromXML
https://github.com/fonttools/fonttools/issues/1584#issuecomment-485140779
This commit is contained in:
parent
71812bbb29
commit
5a7fe0556f
@ -1130,6 +1130,7 @@ class LigatureSubst(FormatSwitchingBaseTable):
|
||||
lig.LigGlyph = attrs["glyph"]
|
||||
components = attrs["components"]
|
||||
lig.Component = components.split(",") if components else []
|
||||
lig.CompCount = len(lig.Component)
|
||||
ligs.append(lig)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user