Lines Matching refs:glyphIndex
1962 int glyphIndex = 0;
1964 while (glyphIndex < glyphCount) {
1966 int glyphsLeft = std::min(glyphCount - glyphIndex, scratchCount);
1968 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) {
1969 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]);
1973 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
1974 glyphIndex += runLength;
1978 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) {
1979 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch));
1980 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
1981 ++glyphIndex;