[mtiLib] Set lookup type even if lookup is empty
For real this time.
This commit is contained in:
parent
6380b7041c
commit
4b38a20cee
@ -817,8 +817,6 @@ def parseLookup(lines, tableTag, font, lookupMap=None):
|
||||
lookup.LookupFlag,filterset = parseLookupFlags(lines)
|
||||
if filterset is not None:
|
||||
lookup.MarkFilteringSet = filterset
|
||||
with lines.until('lookup end'):
|
||||
|
||||
lookup.LookupType, parseLookupSubTable = {
|
||||
'GSUB': {
|
||||
'single': (1, parseSingleSubst),
|
||||
@ -842,6 +840,7 @@ def parseLookup(lines, tableTag, font, lookupMap=None):
|
||||
},
|
||||
}[tableTag][typ]
|
||||
|
||||
with lines.until('lookup end'):
|
||||
subtables = []
|
||||
|
||||
while lines.peek():
|
||||
|
Loading…
x
Reference in New Issue
Block a user