[varLib] Handle fonts without GPOS

Fixes https://github.com/fonttools/fonttools/issues/699
This commit is contained in:
Behdad Esfahbod 2016-11-08 15:44:39 -08:00
parent a11bc5655d
commit 7915a45ddf

View File

@ -79,5 +79,6 @@ class Merger(object):
def merge_tables(font, merger, master_ttfs, axes, base_idx, tables):
for tag in tables:
if tag not in font: continue
print('Merging', tag)
merger.mergeThings(font[tag], [m[tag] for m in master_ttfs])