Home | History | Annotate | Download | only in harfbuzz

Lines Matching defs:glyphIndex

289     unsigned glyphIndex = 0;
292 while (glyphIndex < m_numGlyphs - 1 && m_glyphToCharacterIndexes[glyphIndex] == m_glyphToCharacterIndexes[glyphIndex + 1])
293 currentAdvance += m_advances[++glyphIndex];
299 ++glyphIndex;
300 while (glyphIndex < m_numGlyphs) {
301 unsigned prevCharacterIndex = m_glyphToCharacterIndexes[glyphIndex - 1];
303 currentAdvance = m_advances[glyphIndex];
304 while (glyphIndex < m_numGlyphs - 1 && m_glyphToCharacterIndexes[glyphIndex] == m_glyphToCharacterIndexes[glyphIndex + 1])
305 currentAdvance += m_advances[++glyphIndex];
309 return rtl() ? prevCharacterIndex : m_glyphToCharacterIndexes[glyphIndex];
311 ++glyphIndex;
320 unsigned glyphIndex = 0;
323 while (glyphIndex < m_numGlyphs && m_glyphToCharacterIndexes[glyphIndex] > offset) {
324 position += m_advances[glyphIndex];
325 ++glyphIndex;
329 while (glyphIndex < m_numGlyphs - 1 && m_glyphToCharacterIndexes[glyphIndex] == m_glyphToCharacterIndexes[glyphIndex + 1]) {
330 position += m_advances[glyphIndex];
331 ++glyphIndex;
333 position += m_advances[glyphIndex];
335 while (glyphIndex < m_numGlyphs && m_glyphToCharacterIndexes[glyphIndex] < offset) {
336 position += m_advances[glyphIndex];
337 ++glyphIndex;