Searched refs:numGlyphs (Results 1 - 25 of 66) sorted by relevance

123

/external/harfbuzz_ng/src/
H A Dhb-ot-maxp-table.hh48 return numGlyphs;
63 UINT16 numGlyphs; /* The number of glyphs in the font. */ member in struct:OT::maxp
/external/skia/src/sfnt/
H A DSkOTTable_maxp_CFF.h20 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_CFF
27 static_assert(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, "SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4");
H A DSkOTTable_maxp_TT.h20 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_TT
H A DSkOTTable_EBLC.h121 SK_OT_ULONG numGlyphs; member in struct:IndexSubTable4
125 }; //glyphArray[numGlyphs+1]
133 SK_OT_ULONG numGlyphs; member in struct:IndexSubTable5
134 //SK_OT_USHORT glyphCodeArray[numGlyphs] //must have even number of entries (set pad to 0)
/external/skqp/src/sfnt/
H A DSkOTTable_maxp_CFF.h20 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_CFF
27 static_assert(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, "SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4");
H A DSkOTTable_maxp_TT.h20 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_TT
H A DSkOTTable_EBLC.h121 SK_OT_ULONG numGlyphs; member in struct:IndexSubTable4
125 }; //glyphArray[numGlyphs+1]
133 SK_OT_ULONG numGlyphs; member in struct:IndexSubTable5
134 //SK_OT_USHORT glyphCodeArray[numGlyphs] //must have even number of entries (set pad to 0)
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DL_T_S_H_.py15 version, numGlyphs = struct.unpack(">HH", data[:4])
18 assert (len(data) % numGlyphs) < 4, "numGlyphs doesn't match data length"
20 #assert numGlyphs == ttFont['maxp'].numGlyphs
24 for i in range(numGlyphs):
30 numGlyphs = len(names)
31 yPels = [0] * numGlyphs
33 #assert len(self.yPels) == ttFont['maxp'].numGlyphs == numGlyphs
[all...]
H A D_p_o_s_t.py73 self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs]
76 numGlyphs, = struct.unpack(">H", data[:2])
77 numGlyphs = int(numGlyphs)
78 if numGlyphs > ttFont['maxp'].numGlyphs:
79 # Assume the numGlyphs field is bogus, so sync with maxp.
83 numGlyphs = ttFont['maxp'].numGlyphs
86 indices.fromstring(data[:2*numGlyphs])
[all...]
H A DT_S_I__5.py12 numGlyphs = ttFont['maxp'].numGlyphs
13 assert len(data) == 2 * numGlyphs
19 for i in range(numGlyphs):
H A DT_S_I__0.py17 numGlyphs = ttFont['maxp'].numGlyphs
20 for i in range(numGlyphs + 5):
H A D_h_d_m_x.py16 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"
H A D_h_m_t_x.py18 numGlyphs = ttFont['maxp'].numGlyphs
20 if numberOfMetrics > numGlyphs:
21 numberOfMetrics = numGlyphs # We warn later.
27 numberOfSideBearings = numGlyphs - numberOfMetrics
H A D_m_a_x_p.py10 numGlyphs: H
37 self.numGlyphs = int(self.numGlyphs)
48 self.numGlyphs = len(ttFont.getGlyphOrder())
64 self.numGlyphs = len(glyfTable)
H A D_l_o_c_a.py27 if len(locations) < (ttFont['maxp'].numGlyphs + 1):
28 warnings.warn("corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DL_T_S_H_.py15 version, numGlyphs = struct.unpack(">HH", data[:4])
18 assert (len(data) % numGlyphs) < 4, "numGlyphs doesn't match data length"
20 #assert numGlyphs == ttFont['maxp'].numGlyphs
24 for i in range(numGlyphs):
30 numGlyphs = len(names)
31 yPels = [0] * numGlyphs
33 #assert len(self.yPels) == ttFont['maxp'].numGlyphs == numGlyphs
[all...]
H A D_p_o_s_t.py73 self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs]
76 numGlyphs, = struct.unpack(">H", data[:2])
77 numGlyphs = int(numGlyphs)
78 if numGlyphs > ttFont['maxp'].numGlyphs:
79 # Assume the numGlyphs field is bogus, so sync with maxp.
83 numGlyphs = ttFont['maxp'].numGlyphs
86 indices.fromstring(data[:2*numGlyphs])
[all...]
H A DT_S_I__5.py12 numGlyphs = ttFont['maxp'].numGlyphs
13 assert len(data) == 2 * numGlyphs
19 for i in range(numGlyphs):
H A DT_S_I__0.py17 numGlyphs = ttFont['maxp'].numGlyphs
20 for i in range(numGlyphs + 5):
H A D_h_d_m_x.py16 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"
H A D_h_m_t_x.py18 numGlyphs = ttFont['maxp'].numGlyphs
20 if numberOfMetrics > numGlyphs:
21 numberOfMetrics = numGlyphs # We warn later.
27 numberOfSideBearings = numGlyphs - numberOfMetrics
H A D_m_a_x_p.py10 numGlyphs: H
37 self.numGlyphs = int(self.numGlyphs)
48 self.numGlyphs = len(ttFont.getGlyphOrder())
64 self.numGlyphs = len(glyfTable)
H A D_l_o_c_a.py27 if len(locations) < (ttFont['maxp'].numGlyphs + 1):
28 warnings.warn("corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
/external/icu/icu4c/source/test/letest/
H A DFontObject.cpp20 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL)
219 numGlyphs = SWAPW(maxpTable->numGlyphs);
231 if (glyph >= numGlyphs) {
/external/icu/icu4c/source/test/perf/leperf/
H A DFontObject.cpp24 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL)
223 numGlyphs = SWAPW(maxpTable->numGlyphs);
235 if (glyph >= numGlyphs) {

Completed in 260 milliseconds

123