Home | History | Annotate | Download | only in letest

Lines Matching full:glyphcount

62     le_int32   glyphCount = 0;
64 glyphCount = engine->getGlyphCount();
65 if (glyphCount != 0) {
66 log_err("Calling getGlyphCount() on an empty layout returned %d.\n", glyphCount);
69 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
70 indices = NEW_ARRAY(le_int32, glyphCount + 10);
71 positions = NEW_ARRAY(float, glyphCount + 10);
147 glyphCount = engine->layoutChars(NULL, 0, 0, 0, FALSE, 0.0, 0.0, status);
160 glyphCount = engine->layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status);
167 glyphCount = engine->layoutChars(chars, 8, -1, 20, TRUE, 0.0, 0.0, status);
174 glyphCount = engine->layoutChars(chars, 8, 6, -1, TRUE, 0.0, 0.0, status);
181 glyphCount = engine->layoutChars(chars, 8, 6, 10, TRUE, 0.0, 0.0, status);
190 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status);
204 engine->getGlyphPosition(glyphCount + 1, x, y, status);
207 log_err("Calling getGlyphPosition(glyphCount + 1, x, y, status) did not fail w/ LE_INDEX_OUT_OF_BOUNDS_ERROR.\n");
244 le_int32 glyphCount;
259 glyphCount = engine->layoutChars(chars, 8, 6, 20, TRUE, 0.0, 0.0, status);
261 if (LE_FAILURE(status) || glyphCount != 6) {
280 for(glyph = 0; glyph < glyphCount; glyph += 1) {
295 for (glyph = 0; glyph < glyphCount; glyph += 1) {
305 for (glyph = 0; glyph <= glyphCount; glyph += 1) {
331 if (actual->glyphCount != expected->glyphCount) {
333 testID, expected->glyphCount, actual->glyphCount);
339 for (i = 0; i < actual->glyphCount; i += 1) {
347 for (i = 0; i < actual->glyphCount; i += 1) {
355 for (i = 0; i <= actual->glyphCount; i += 1) {
612 int32_t glyphCount = 0, indexCount = 0, positionCount = 0;
678 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
682 expected.glyphCount = glyphCount;
684 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
685 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
686 id, charCount, glyphCount, indexCount, positionCount);
697 actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, success);
699 actual.glyphs = NEW_ARRAY(LEGlyphID, actual.glyphCount);
700 actual.indices = NEW_ARRAY(le_int32, actual.glyphCount);
701 actual.positions = NEW_ARRAY(float, actual.glyphCount * 2 + 2);
895 le_int32 glyphCount = visualRun->getGlyphCount();
905 for(le_int32 i = glyphCount - 1; i >= 0; i -= 1) {
928 for(le_int32 i = 0; i < glyphCount; i += 1) {