Home | History | Annotate | Download | only in chromium

Lines Matching defs:numGlyphs

74     int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
78 for (int i = numGlyphs - 1; i >= 0; --i) {
85 *glyphsSize = numGlyphs;
89 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags)
97 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]);
100 for (unsigned i = 0; i < numGlyphs; ++i)
102 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
107 for (unsigned i = 0; i < numGlyphs; ++i) {
126 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get());
129 for (int i = 0; i < numGlyphs; ++i) {