Lines Matching full:glyph
410 // Make big arrays for the glyph widths, glyph-to-char and char-to-glyph maps,
413 // For each layout get the positions and convert them into glyph widths, in
414 // logical order. Get the glyph-to-char mapping, offset by starting index in the
415 // character array. Swap the glyph width and glyph-to-char arrays into logical order.
416 // Finally, fill in the char-to-glyph mappings.
427 le_int32 glyph;
460 for (glyph = 0; glyph < glyphCount; glyph += 1) {
461 fGlyphWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].positions[glyph * 2];
477 for (glyph = fGlyphCount - 1; glyph >= 0; glyph -= 1) {
478 le_int32 ch = fGlyphToCharMap[glyph];
480 fCharToMinGlyphMap[ch] = glyph;
485 for (glyph = 0; glyph < fGlyphCount; glyph += 1) {
486 le_int32 ch = fGlyphToCharMap[glyph];
488 fCharToMaxGlyphMap[ch] = glyph;
637 le_int32 glyph = fCharToMinGlyphMap[fLineStart];
640 while (glyph < fGlyphCount && widthSoFar + fGlyphWidths[glyph] <= width) {
641 widthSoFar += fGlyphWidths[glyph++];
651 if (widthSoFar == 0 && glyph < fGlyphCount) {
652 glyph += 1;
655 fLineEnd = previousBreak(fGlyphToCharMap[glyph]);
658 // find a glyph, starting at the one which didn't
661 fLineEnd = fGlyphToCharMap[glyph++];
1018 // Get the glyph indices for all the characters between firstChar and lastChar,
1051 // a line, we want the first glyph to be at x = 0, even if it comes
1053 // want the left-most glyph to start at the final x position of the
1054 // previous run, even though this glyph may be in the middle of the
1058 // Make rightGlyph be the glyph just to the right of
1086 // we need to map the physical glyph indices to logical indices while we copy the