This commit is contained in:
Behdad Esfahbod 2013-08-13 16:02:33 -04:00
parent 8e3b88645e
commit 31ebebef33

View File

@ -1062,7 +1062,7 @@ def subset_glyphs (self, s):
csi = cs.charStringsIndex
csi.items = [csi.items[i] for i in indices]
csi.offsets = [] # Don't need it; loaded all glyphs
if hasattr (font, "FDSelect")
if hasattr (font, "FDSelect"):
sel = font.FDSelect
sel.format = None
sel.gidArray = [font.FDSelect.gidArray[i] for i in indices]