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

1234

/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-maxp-table.hh47 return numGlyphs;
60 USHORT numGlyphs; /* The number of glyphs in the font. */ member in struct:OT::maxp
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTTable_maxp_CFF.h20 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_CFF
27 SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4);
H A DSkOTTable_maxp_TT.h21 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_TT
/external/harfbuzz_ng/src/
H A Dhb-ot-maxp-table.hh47 return numGlyphs;
60 USHORT 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 SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, SkOTTableHead_glyphDataFormat_not_at_2);
H A DSkOTTable_maxp_TT.h21 SK_OT_USHORT numGlyphs; member in struct:SkOTTableMaximumProfile_TT
/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)
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontMac.cpp78 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
120 SkAutoSTMalloc<32, SkPoint> storage(numGlyphs);
123 for (unsigned i = 0; i < numGlyphs; i++) {
135 rotator.mapPoints(pos, numGlyphs);
146 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
164 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
77 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs, const FloatPoint& point, const FloatRect& textRect) const argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DFontHarfBuzz.cpp87 const Glyph glyphs[], unsigned numGlyphs,
95 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
100 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
105 const Glyph glyphs[], unsigned numGlyphs,
112 gc->drawPosTextH(glyphs, numGlyphs * sizeof(Glyph), xpos, constY, textRect, paint);
117 gc->drawPosTextH(glyphs, numGlyphs * sizeof(Glyph), xpos, constY, textRect, paint);
122 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
130 SkAutoSTMalloc<32, SkPoint> storage(numGlyphs);
145 while (glyphIndex < numGlyphs) {
146 unsigned chunkLength = std::min(kMaxBufferLength, numGlyphs
86 paintGlyphs(GraphicsContext* gc, const SimpleFontData* font, const Glyph glyphs[], unsigned numGlyphs, const SkPoint pos[], const FloatRect& textRect) argument
104 paintGlyphsHorizontal(GraphicsContext* gc, const SimpleFontData* font, const Glyph glyphs[], unsigned numGlyphs, const SkScalar xpos[], SkScalar constY, const FloatRect& textRect) argument
121 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs, const FloatPoint& point, const FloatRect& textRect) const argument
[all...]
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFFont.h28 void set(const uint16_t* glyphIDs, int numGlyphs);
64 int numGlyphs);
119 * @param numGlyphs The number of input glyphs.
122 int glyphsToPDFFontEncoding(uint16_t* glyphIDs, int numGlyphs);
/external/skia/src/pdf/
H A DSkPDFFont.h28 void set(const uint16_t* glyphIDs, int numGlyphs);
64 int numGlyphs);
119 * @param numGlyphs The number of input glyphs.
122 int glyphsToPDFFontEncoding(uint16_t* glyphIDs, int numGlyphs);

Completed in 1680 milliseconds

1234