mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-08 15:57:59 +00:00
Merge pull request #98 from dougfelt/master
Get back in sync, init lookup table.
This commit is contained in:
commit
700c7fb76f
1 changed files with 3 additions and 3 deletions
|
@ -259,8 +259,8 @@ def get_gsub_ligature_lookup(font):
|
||||||
assert lookup.LookupFlag == 0
|
assert lookup.LookupFlag == 0
|
||||||
|
|
||||||
# importXML doesn't fully init GSUB structures, so help it out
|
# importXML doesn't fully init GSUB structures, so help it out
|
||||||
if not hasattr(lookup, 'LookupType'):
|
|
||||||
st = lookup.SubTable[0]
|
st = lookup.SubTable[0]
|
||||||
|
if not hasattr(lookup, 'LookupType'):
|
||||||
assert st.LookupType == 4
|
assert st.LookupType == 4
|
||||||
setattr(lookup, 'LookupType', 4)
|
setattr(lookup, 'LookupType', 4)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue