[varLib] Handle fonts without GPOS
Fixes https://github.com/fonttools/fonttools/issues/699
This commit is contained in:
parent
a11bc5655d
commit
7915a45ddf
@ -79,5 +79,6 @@ class Merger(object):
|
|||||||
def merge_tables(font, merger, master_ttfs, axes, base_idx, tables):
|
def merge_tables(font, merger, master_ttfs, axes, base_idx, tables):
|
||||||
|
|
||||||
for tag in tables:
|
for tag in tables:
|
||||||
|
if tag not in font: continue
|
||||||
print('Merging', tag)
|
print('Merging', tag)
|
||||||
merger.mergeThings(font[tag], [m[tag] for m in master_ttfs])
|
merger.mergeThings(font[tag], [m[tag] for m in master_ttfs])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user