[merge] Print out duplicate glyphs in failure message
This commit is contained in:
parent
330d46ab7e
commit
a34749cc16
@ -572,7 +572,7 @@ def merge(self, m, tables):
|
||||
assert len(tables) == len(m.duplicateGlyphsPerFont)
|
||||
for i,(table,dups) in enumerate(zip(tables, m.duplicateGlyphsPerFont)):
|
||||
if not dups: continue
|
||||
assert (table is not None and table is not NotImplemented), "Have duplicates to resolve for font %d but no GSUB" % (i + 1)
|
||||
assert (table is not None and table is not NotImplemented), "Have duplicates to resolve for font %d but no GSUB: %s" % (i + 1, dups)
|
||||
synthFeature = None
|
||||
synthLookup = None
|
||||
for script in table.table.ScriptList.ScriptRecord:
|
||||
|
Loading…
x
Reference in New Issue
Block a user