Lines Matching full:glyphcount
45 le_int32 glyphCount = 0;
55 glyphCount = le_getGlyphCount(engine, &status);
56 if (glyphCount != 0) {
57 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount);
60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
61 indices = NEW_ARRAY(le_int32, glyphCount + 10);
62 positions = NEW_ARRAY(float, glyphCount + 10);
124 glyphCount = le_layoutChars(engine, NULL, 0, 0, 0, FALSE, 0.0, 0.0, &status);
131 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status);
138 glyphCount = le_layoutChars(engine, chars, 8, -1, 20, TRUE, 0.0, 0.0, &status);
145 glyphCount = le_layoutChars(engine, chars, 8, 6, -1, TRUE, 0.0, 0.0, &status);
152 glyphCount = le_layoutChars(engine, chars, 8, 6, 10, TRUE, 0.0, 0.0, &status);
159 glyphCount = le_layoutChars(engine, chars, 8, 6, 20, TRUE, 0.0, 0.0, &status);
173 le_getGlyphPosition(engine, glyphCount + 1, &x, &y, &status);
176 log_err("Calling getGlyphPosition(glyphCount + 1, x, y, status) did not fail w/ LE_INDEX_OUT_OF_BOUNDS_ERROR.\n");
214 le_int32 glyphCount;
229 glyphCount = le_layoutChars(engine, chars, 8, 6, 20, TRUE, 0.0, 0.0, &status);
231 if (LE_FAILURE(status) || glyphCount != 6) {
251 for (glyph = 0; glyph < glyphCount; glyph += 1) {
261 for (glyph = 0; glyph <= glyphCount; glyph += 1) {
289 if (actual->glyphCount != expected->glyphCount) {
291 testID, expected->glyphCount, actual->glyphCount);
295 for (i = 0; i < actual->glyphCount; i += 1) {
303 for (i = 0; i < actual->glyphCount; i += 1) {
311 for (i = 0; i <= actual->glyphCount; i += 1) {
470 actual.glyphCount = le_layoutChars(engine, text, 0, charCount, charCount, getRTL(text, charCount), 0, 0, &status);
472 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
473 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
474 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2);
665 const le_int32 glyphCount = pl_getVisualRunGlyphCount(visualRun);
675 for(i = glyphCount - 1; i >= 0; i -= 1) {
698 for(i = 0; i < glyphCount; i += 1) {