Lines Matching defs:glyphRange
257 TextRange OneLineShaper::normalizeTextRange(GlyphRange glyphRange) {
260 return TextRange(clusterIndex(glyphRange.start), clusterIndex(glyphRange.end));
262 return TextRange(clusterIndex(glyphRange.end - 1),
263 glyphRange.start > 0
264 ? clusterIndex(glyphRange.start - 1)
280 void OneLineShaper::addUnresolvedWithRun(GlyphRange glyphRange) {
281 auto extendedText = this->clusteredText(glyphRange); // It also modifies glyphRange if needed
282 RunBlock unresolved(fCurrentRun, extendedText, glyphRange, 0);
293 lastUnresolved.fGlyphs.end = glyphRange.end;
303 lastUnresolved.fGlyphs.start = std::min(lastUnresolved.fGlyphs.start, glyphRange.start);
304 lastUnresolved.fGlyphs.end = std::max(lastUnresolved.fGlyphs.end, glyphRange.end);
826 // Correct the glyphRange in case we extended the text to the grapheme edges