commit | 02e51072a4e6c17acf50ae563ddbc0d3a324aaf5 | [log] [tgz] |
---|---|---|
author | Cosimo Lupo <clupo@google.com> | Wed May 20 09:16:06 2020 +0100 |
committer | Cosimo Lupo <clupo@google.com> | Wed May 20 09:16:06 2020 +0100 |
tree | 6fba7c33c5362d8560e70de72bf44262e63306b0 | |
parent | d2c9f12260d9fe431a1e272d49aef22de65552f9 [diff] |
sfnt: must import SimpleNamespace Thanks Zachary for reporting this https://github.com/fonttools/fonttools/commit/7ca42f6623dd748c913dde5ada528f8b27f96ac9#commitcomment-39299386 Amazingly we have no tests for reading TTCs
diff --git a/Lib/fontTools/ttLib/sfnt.py b/Lib/fontTools/ttLib/sfnt.py index 5996ec3..2f3b669 100644 --- a/Lib/fontTools/ttLib/sfnt.py +++ b/Lib/fontTools/ttLib/sfnt.py
@@ -13,6 +13,7 @@ """ from io import BytesIO +from types import SimpleNamespace from fontTools.misc.py23 import Tag from fontTools.misc import sstruct from fontTools.ttLib import TTLibError