/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _p_o_s_t.py | 73 self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs] 76 numGlyphs, = struct.unpack(">H", data[:2]) 77 numGlyphs = int(numGlyphs) 78 if numGlyphs > ttFont['maxp'].numGlyphs: 83 numGlyphs = ttFont['maxp'].numGlyphs 86 indices.fromstring(data[:2*numGlyphs]) 89 data = data[2*numGlyphs:] 91 self.glyphOrder = glyphOrder = [None] * int(ttFont['maxp'].numGlyphs) 92 for glyphID in range(numGlyphs): 102 if numGlyphs < ttFont['maxp'].numGlyphs: [all …]
|
D | L_T_S_H_.py | 15 version, numGlyphs = struct.unpack(">HH", data[:4]) 18 assert (len(data) % numGlyphs) < 4, "numGlyphs doesn't match data length" 24 for i in range(numGlyphs): 30 numGlyphs = len(names) 31 yPels = [0] * numGlyphs 37 return struct.pack(">HH", version, numGlyphs) + yPels.tostring()
|
D | _h_d_m_x.py | 16 numGlyphs = ttFont['maxp'].numGlyphs 24 for glyphID in range(numGlyphs): 32 numGlyphs = ttFont['maxp'].numGlyphs 34 self.recordSize = 4 * ((2 + numGlyphs + 3) // 4) 35 pad = (self.recordSize - 2 - numGlyphs) * b"\0"
|
D | T_S_I__5.py | 12 numGlyphs = ttFont['maxp'].numGlyphs 13 assert len(data) == 2 * numGlyphs 19 for i in range(numGlyphs):
|
D | _h_m_t_x.py | 18 numGlyphs = ttFont['maxp'].numGlyphs 20 if numberOfMetrics > numGlyphs: 21 numberOfMetrics = numGlyphs # We warn later. 27 numberOfSideBearings = numGlyphs - numberOfMetrics
|
D | T_S_I__0.py | 17 numGlyphs = ttFont['maxp'].numGlyphs 20 for i in range(numGlyphs + 5):
|
D | _m_a_x_p.py | 37 self.numGlyphs = int(self.numGlyphs) 48 self.numGlyphs = len(ttFont.getGlyphOrder()) 64 self.numGlyphs = len(glyfTable)
|
D | _l_o_c_a.py | 27 if len(locations) < (ttFont['maxp'].numGlyphs + 1): 28 …loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
|
D | E_B_L_C_.py | 431 numGlyphs = self.lastGlyphIndex - self.firstGlyphIndex + 1 432 indexingOffsets = [glyphIndex * offsetDataSize for glyphIndex in range(numGlyphs+2)] 547 (numGlyphs,) = struct.unpack(">L", self.data[:4]) 549 indexingOffsets = [glyphIndex * codeOffsetPairSize for glyphIndex in range(numGlyphs+2)] 590 (numGlyphs,) = struct.unpack(">L", data[:4]) 592 glyphIds = [struct.unpack(">H", data[2*i:2*(i+1)])[0] for i in range(numGlyphs)]
|
/external/skia/src/sfnt/ |
D | SkOTTable_maxp_CFF.h | 20 SK_OT_USHORT numGlyphs; member 27 static_assert(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, "SkOTTableMaximumProfile_CFF_n…
|
D | SkOTTable_EBLC.h | 123 SK_OT_ULONG numGlyphs; member 135 SK_OT_ULONG numGlyphs; member
|
D | SkOTTable_maxp_TT.h | 21 SK_OT_USHORT numGlyphs; member
|
/external/harfbuzz_ng/src/ |
D | hb-ot-maxp-table.hh | 48 return numGlyphs; in get_num_glyphs() 63 USHORT numGlyphs; /* The number of glyphs in the font. */ member
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 28 void set(const uint16_t* glyphIDs, int numGlyphs); 64 int numGlyphs); 119 int glyphsToPDFFontEncoding(uint16_t* glyphIDs, int numGlyphs);
|
D | SkPDFDevice.cpp | 132 int numGlyphs = paint.textToGlyphs(text, len, nullptr); in force_glyph_encoding() local 133 storage->reset(numGlyphs); in force_glyph_encoding() 136 return numGlyphs; in force_glyph_encoding() 141 int numGlyphs = SkToInt(len / 2); in force_glyph_encoding() local 146 for (validated = 0; validated < numGlyphs; ++validated) { in force_glyph_encoding() 151 if (validated >= numGlyphs) { in force_glyph_encoding() 153 return numGlyphs; in force_glyph_encoding() 157 storage->reset(numGlyphs); in force_glyph_encoding() 162 for (int i = validated; i < numGlyphs; ++i) { in force_glyph_encoding() 169 return numGlyphs; in force_glyph_encoding() [all …]
|
D | SkPDFFont.cpp | 642 void SkPDFGlyphSet::set(const uint16_t* glyphIDs, int numGlyphs) { in set() argument 643 for (int i = 0; i < numGlyphs; ++i) { in set() 707 int numGlyphs) { in noteGlyphUsage() argument 710 subset->set(glyphIDs, numGlyphs); in noteGlyphUsage() 776 int SkPDFFont::glyphsToPDFFontEncoding(uint16_t* glyphIDs, int numGlyphs) { in glyphsToPDFFontEncoding() argument 779 return numGlyphs; in glyphsToPDFFontEncoding() 782 for (int i = 0; i < numGlyphs; i++) { in glyphsToPDFFontEncoding() 792 return numGlyphs; in glyphsToPDFFontEncoding()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | FontObject.cpp | 18 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject() 217 numGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance() 229 if (glyph >= numGlyphs) { in getGlyphAdvance()
|
D | FontObject.h | 132 le_uint16 numGlyphs; member 227 le_uint16 numGlyphs; variable
|
/external/icu/icu4c/source/test/letest/ |
D | FontObject.cpp | 18 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject() 217 numGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance() 229 if (glyph >= numGlyphs) { in getGlyphAdvance()
|
D | FontObject.h | 132 le_uint16 numGlyphs; member 227 le_uint16 numGlyphs; variable
|
/external/fonttools/Lib/fontTools/ |
D | cffLib.py | 452 def __init__(self, file = None, numGlyphs = None, format=None): argument 458 self.gidArray = array("B", file.read(numGlyphs)).tolist() 460 gidArray = [None] * numGlyphs 559 numGlyphs = len(names) 577 progress.increment(step / numGlyphs) 784 numGlyphs = parent.numGlyphs 791 charset = parseCharset0(numGlyphs, file, parent.strings, isCID) 793 charset = parseCharset(numGlyphs, file, parent.strings, isCID, format) 796 assert len(charset) == numGlyphs 901 def parseCharset0(numGlyphs, file, strings, isCID): argument [all …]
|
/external/freetype/src/sfnt/ |
D | ttpost.c | 179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20() 329 if ( num_glyphs > face->max_profile.numGlyphs || num_glyphs > 258 ) in load_format_25() 496 if ( idx >= (FT_UInt)face->max_profile.numGlyphs ) in tt_face_get_ps_name()
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttpost.c | 179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20() 329 if ( num_glyphs > face->max_profile.numGlyphs || num_glyphs > 258 ) in load_format_25() 496 if ( idx >= (FT_UInt)face->max_profile.numGlyphs ) in tt_face_get_ps_name()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | __init__.py | 479 numGlyphs = int(self['maxp'].numGlyphs) 480 glyphOrder = [None] * numGlyphs 482 for i in range(1, numGlyphs): 498 for i in range(numGlyphs):
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 121 int glyphCount = this->numGlyphs(); in onPrepareDraws() 226 fBatch.fNumGlyphs += that->numGlyphs(); in onCombineIfPossible()
|