Lines Matching refs:numGlyphs
803 def __init__(self, file=None, numGlyphs=None, format=None): argument
809 self.gidArray = array("B", file.read(numGlyphs)).tolist()
811 gidArray = [None] * numGlyphs
1282 numGlyphs = parent.numGlyphs
1288 charset = parseCharset0(numGlyphs, file, parent.strings, isCID)
1290 charset = parseCharset(numGlyphs, file, parent.strings, isCID, format)
1293 assert len(charset) == numGlyphs
1307 if charset and (len(charset) != parent.numGlyphs):
1308 charset = charset[:parent.numGlyphs]
1427 def parseCharset0(numGlyphs, file, strings, isCID): argument
1430 for i in range(numGlyphs - 1):
1434 for i in range(numGlyphs - 1):
1440 def parseCharset(numGlyphs, file, strings, isCID, fmt): argument
1447 while count < numGlyphs:
1658 fdSelect = FDSelect(file, parent.numGlyphs)
1673 numGlyphs = None
1674 fdSelect = FDSelect(file, numGlyphs, fmt)
2325 self.numGlyphs = readCard32(self.file)
2327 self.numGlyphs = readCard16(self.file)