commit | 31547e0e7b55fcfe48208201b5a6c52d26b1b3d4 | [log] [tgz] |
---|---|---|
author | Behnam Esfahbod <behnam@behnam.es> | Tue Sep 03 21:00:06 2013 -0700 |
committer | Behnam Esfahbod <behnam@behnam.es> | Tue Sep 03 21:00:06 2013 -0700 |
tree | cdde60ac836f6f43ebee78218771b09fb7d087ab | |
parent | 1a281ee5324cdc444c5b12551fac2110d29414ee [diff] [blame] |
Handle fontTools.ttLib.TTLibError errors
diff --git a/Lib/fontTools/fontView.py b/Lib/fontTools/fontView.py index 90a1c6f..ffe69ce 100644 --- a/Lib/fontTools/fontView.py +++ b/Lib/fontTools/fontView.py
@@ -91,7 +91,7 @@ # 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