commit | f3744d90d3a503a9b8e43257a67867b22145f033 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Mon Jul 22 17:04:04 2013 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon Jul 22 17:04:04 2013 -0400 |
tree | 6100304f7e5cce60daadc08c98ef7aca06caefff | |
parent | 2a784accfde504f10f3cfe7dda7cbda75f388f2c [diff] [blame] |
Drop format=0 cmap subtables
diff --git a/pyotlss.py b/pyotlss.py index c8bb2ee..e09f94d 100755 --- a/pyotlss.py +++ b/pyotlss.py
@@ -383,6 +383,8 @@ else: t.cmap = {u:g for (u,g) in t.cmap.items() if g in glyphs} self.tables = [t for t in self.tables if (t.cmap if t.format != 14 else t.uvsDict)] + # Drop format=0 which can't be subset easily? + self.tables = [t for t in self.tables if t.format != 0] return len (self.tables)