Lines Matching defs:glyphCount

49     le_int32   glyphCount = 0;
59 glyphCount = le_getGlyphCount(engine, &status);
60 if (glyphCount != 0) {
61 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount);
64 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
65 indices = NEW_ARRAY(le_int32, glyphCount + 10);
66 positions = NEW_ARRAY(float, glyphCount + 10);
128 glyphCount = le_layoutChars(engine, NULL, 0, 0, 0, FALSE, 0.0, 0.0, &status);
135 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status);
142 glyphCount = le_layoutChars(engine, chars, 8, -1, 20, TRUE, 0.0, 0.0, &status);
149 glyphCount = le_layoutChars(engine, chars, 8, 6, -1, TRUE, 0.0, 0.0, &status);
156 glyphCount = le_layoutChars(engine, chars, 8, 6, 10, TRUE, 0.0, 0.0, &status);
163 glyphCount = le_layoutChars(engine, chars, 8, 6, 20, TRUE, 0.0, 0.0, &status);
177 le_getGlyphPosition(engine, glyphCount + 1, &x, &y, &status);
180 log_err("Calling getGlyphPosition(glyphCount + 1, x, y, status) did not fail w/ LE_INDEX_OUT_OF_BOUNDS_ERROR.\n");
218 le_int32 glyphCount;
233 glyphCount = le_layoutChars(engine, chars, 8, 6, 20, TRUE, 0.0, 0.0, &status);
235 if (LE_FAILURE(status) || glyphCount != 6) {
255 for (glyph = 0; glyph < glyphCount; glyph += 1) {
265 for (glyph = 0; glyph <= glyphCount; glyph += 1) {
293 if (actual->glyphCount != expected->glyphCount) {
295 testID, expected->glyphCount, actual->glyphCount);
299 for (i = 0; i < actual->glyphCount; i += 1) {
307 for (i = 0; i < actual->glyphCount; i += 1) {
315 for (i = 0; i <= actual->glyphCount; i += 1) {
474 actual.glyphCount = le_layoutChars(engine, text, 0, charCount, charCount, getRTL(text, charCount), 0, 0, &status);
476 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
477 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
478 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2);
670 const le_int32 glyphCount = pl_getVisualRunGlyphCount(visualRun);
680 for(i = glyphCount - 1; i >= 0; i -= 1) {
703 for(i = 0; i < glyphCount; i += 1) {