Handle fontTools.ttLib.TTLibError errors

This commit is contained in:
Behnam Esfahbod 2013-09-03 21:00:06 -07:00
parent 1a281ee532
commit 31547e0e7b

View File

@ -91,7 +91,7 @@ class Row(object):
# Make sure item is decompiled
try:
value["asdf"]
except (AttributeError, KeyError):
except (AttributeError, KeyError, ttLib.TTLibError):
pass
if isinstance(value, ttLib.getTableModule('glyf').Glyph):
# Glyph type needs explicit expanding to be useful