Lines Matching refs:totalGlyphCount

1966         int totalGlyphCount = 0;  in measure_native_node()  local
1993totalGlyphCount += layoutChars(engine, txtPtr, logicalStart, length, txtLen, (dir == UBIDI_RTL)); in measure_native_node()
1996 if (totalGlyphCount > 0) { in measure_native_node()
1998 glyph_info = xcalloc(totalGlyphCount, native_glyph_info_size); in measure_native_node()
2000 glyphIDs = (uint16_t*)(locations + totalGlyphCount); in measure_native_node()
2001 glyphAdvances = (Fixed*) xcalloc(totalGlyphCount, sizeof(Fixed)); in measure_native_node()
2002 totalGlyphCount = 0; in measure_native_node()
2020 glyphIDs[totalGlyphCount] = glyphs[i]; in measure_native_node()
2021 locations[totalGlyphCount].x = D2Fix(positions[i].x + x); in measure_native_node()
2022 locations[totalGlyphCount].y = D2Fix(positions[i].y + y); in measure_native_node()
2023 glyphAdvances[totalGlyphCount] = D2Fix(advances[i]); in measure_native_node()
2024 ++totalGlyphCount; in measure_native_node()
2037 native_glyph_count(node) = totalGlyphCount; in measure_native_node()
2041 totalGlyphCount = layoutChars(engine, txtPtr, 0, txtLen, txtLen, (dir == UBIDI_RTL)); in measure_native_node()
2043 glyphs = (uint32_t*) xcalloc(totalGlyphCount, sizeof(uint32_t)); in measure_native_node()
2044 positions = (FloatPoint*) xcalloc(totalGlyphCount + 1, sizeof(FloatPoint)); in measure_native_node()
2045 advances = (float*) xcalloc(totalGlyphCount, sizeof(float)); in measure_native_node()
2051 if (totalGlyphCount > 0) { in measure_native_node()
2053 glyph_info = xcalloc(totalGlyphCount, native_glyph_info_size); in measure_native_node()
2055 glyphIDs = (uint16_t*)(locations + totalGlyphCount); in measure_native_node()
2056 glyphAdvances = (Fixed*) xcalloc(totalGlyphCount, sizeof(Fixed)); in measure_native_node()
2057 for (i = 0; i < totalGlyphCount; ++i) { in measure_native_node()
2063 width = D2Fix(positions[totalGlyphCount].x); in measure_native_node()
2067 native_glyph_count(node) = totalGlyphCount; in measure_native_node()
2082 for (i = 0; i < totalGlyphCount; ++i) { in measure_native_node()