Lines Matching refs:glyphCount

64     le_int32   glyphCount = 0;
66 glyphCount = engine->getGlyphCount();
67 if (glyphCount != 0) {
68 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount);
71 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
72 indices = NEW_ARRAY(le_int32, glyphCount + 10);
73 positions = NEW_ARRAY(float, glyphCount + 10);
149 glyphCount = engine->layoutChars(NULL, 0, 0, 0, FALSE, 0.0, 0.0, status);
162 glyphCount = engine->layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status);
169 glyphCount = engine->layoutChars(chars, 8, -1, 20, TRUE, 0.0, 0.0, status);
176 glyphCount = engine->layoutChars(chars, 8, 6, -1, TRUE, 0.0, 0.0, status);
183 glyphCount = engine->layoutChars(chars, 8, 6, 10, TRUE, 0.0, 0.0, status);
192 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status);
206 engine->getGlyphPosition(glyphCount + 1, x, y, status);
209 log_err("Calling getGlyphPosition(glyphCount + 1, x, y, status) did not fail w/ LE_INDEX_OUT_OF_BOUNDS_ERROR.\n");
246 le_int32 glyphCount;
261 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status);
263 if (LE_FAILURE(status) || glyphCount != 6) {
282 for(glyph = 0; glyph < glyphCount; glyph += 1) {
297 for (glyph = 0; glyph < glyphCount; glyph += 1) {
307 for (glyph = 0; glyph <= glyphCount; glyph += 1) {
333 if (actual->glyphCount != expected->glyphCount) {
335 testID, expected->glyphCount, actual->glyphCount);
341 for (i = 0; i < actual->glyphCount; i += 1) {
349 for (i = 0; i < actual->glyphCount; i += 1) {
357 for (i = 0; i <= actual->glyphCount; i += 1) {
615 int32_t glyphCount = 0, indexCount = 0, positionCount = 0;
681 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
685 expected.glyphCount = glyphCount;
687 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
688 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
689 id, charCount, glyphCount, indexCount, positionCount);
700 actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, success);
702 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
703 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
704 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2);
718 log_verbose("OK - %4d glyphs: %s\n", actual.glyphCount, id);
900 le_int32 glyphCount = visualRun->getGlyphCount();
910 for(le_int32 i = glyphCount - 1; i >= 0; i -= 1) {
933 for(le_int32 i = 0; i < glyphCount; i += 1) {