fontinfo
This commit is contained in:
parent
dce366825e
commit
b468331939
1 changed files with 2 additions and 1 deletions
|
|
@ -215,7 +215,6 @@ def genGlyphsInfo(tt, outputType, glyphsType=GLYPHS_TYPE_UNKNOWN, glyphsTable=No
|
|||
unicodeMap[glyphname] = [cp]
|
||||
|
||||
glyphValues = []
|
||||
glyphset = tt.getGlyphSet(preferCFF=glyphsType is GLYPHS_TYPE_CFF)
|
||||
|
||||
glyphnames = tt.getGlyphOrder() if glyphnameFilter is None else glyphnameFilter
|
||||
|
||||
|
|
@ -228,6 +227,8 @@ def genGlyphsInfo(tt, outputType, glyphsType=GLYPHS_TYPE_UNKNOWN, glyphsTable=No
|
|||
glyphValues.append(v)
|
||||
return glyphValues
|
||||
|
||||
glyphset = tt.getGlyphSet(preferCFF=glyphsType is GLYPHS_TYPE_CFF)
|
||||
|
||||
for glyphname in glyphnames:
|
||||
unicodes = unicodeMap[glyphname] if glyphname in unicodeMap else []
|
||||
try:
|
||||
|
|
|
|||
Reference in a new issue