Searched refs:numFonts (Results 1 – 9 of 9) sorted by relevance
57 numFonts = header.numFonts58 if not 0 <= fontNumber < numFonts:59 raise TTLibError("specify a font number between 0 and %d (inclusive)" % (numFonts - 1))60 self.numFonts = numFonts604 self.offsetTable = struct.unpack(">%dL" % self.numFonts, file.read(self.numFonts * 4))609 def writeTTCHeader(file, numFonts): argument613 self.numFonts = numFonts617 file.write(struct.pack(">%dL" % self.numFonts, *([0] * self.numFonts)))
36 for i in range(header.numFonts):
71 bool recognizedFont(SkStreamAsset* stream, int* numFonts) const;
1815 DWORD numFonts = 0; in activate_font() local1820 &numFonts); in activate_font()1822 if (fontHandle != nullptr && numFonts < 1) { in activate_font()
1814 DWORD numFonts = 0; in activate_font() local1819 &numFonts); in activate_font()1821 if (fontHandle != nullptr && numFonts < 1) { in activate_font()
433 - [sfnt] Restore backward compatiblity with ``numFonts`` attribute of
850 - [sfnt] Restore backward compatiblity with ``numFonts`` attribute of