Searched refs:widthSoFar (Results 1 – 2 of 2) sorted by relevance
99 float widthSoFar = 0; in textCharacterOffsets() local101 widthSoFar += widths[i]; in textCharacterOffsets()102 offsets[i] = LayoutUnit::fromFloatRound(widthSoFar); in textCharacterOffsets()
672 float widthSoFar = 0; in nextLine() local674 while (glyph < fGlyphCount && widthSoFar + fGlyphWidths[glyph] <= width) { in nextLine()675 widthSoFar += fGlyphWidths[glyph++]; in nextLine()685 if (widthSoFar == 0 && glyph < fGlyphCount) { in nextLine()