Lines Matching refs:glyphStorage
250 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
339 * back to the original input characters. Save it in glyphStorage. The
343 glyphStorage.adoptCharIndicesArray(fakeGlyphStorage);
364 LEGlyphStorage &glyphStorage, LEErrorCode &success)
376 le_int32 outCharCount = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success);
379 mapCharsToGlyphs(outChars, 0, outCharCount, rightToLeft, rightToLeft, glyphStorage, success);
382 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
385 return glyphStorage.getGlyphCount();
390 void LayoutEngine::positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success)
396 glyphStorage.allocatePositions(success);
402 le_int32 i, glyphCount = glyphStorage.getGlyphCount();
407 glyphStorage.setPosition(i, x, y, success);
410 fFontInstance->getGlyphAdvance(glyphStorage[i], advance);
417 glyphStorage.setPosition(glyphCount, x, y, success);
421 LEGlyphStorage &glyphStorage, LEErrorCode &success)
436 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success);
441 kt.process(glyphStorage, success);
448 void LayoutEngine::adjustMarkGlyphs(LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode &success)
451 le_int32 p, glyphCount = glyphStorage.getGlyphCount();
464 glyphStorage.getGlyphPosition(0, prev, ignore, success);
469 glyphStorage.getGlyphPosition(p + 1, next, ignore, success);
473 glyphStorage.adjustPosition(p, xAdjust, 0, success);
475 if (markFilter->accept(glyphStorage[p], success)) {
482 glyphStorage.adjustPosition(glyphCount, xAdjust, 0, success);
485 void LayoutEngine::adjustMarkGlyphs(const LEUnicode chars[], le_int32 charCount, le_bool reverse, LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode &success)
489 le_int32 glyphCount = glyphStorage.getGlyphCount();
507 glyphStorage.getGlyphPosition(0, prev, ignore, success);
512 glyphStorage.getGlyphPosition(p + 1, next, ignore, success);
519 glyphStorage.adjustPosition(p, xAdjust, 0, success);
528 glyphStorage.adjustPosition(glyphCount, xAdjust, 0, success);
537 LEGlyphStorage &glyphStorage, LEErrorCode &success)
543 glyphStorage.allocateGlyphArray(count, reverse, success);
547 fFontInstance->mapCharsToGlyphs(chars, offset, count, reverse, &charMapper, fFilterZeroWidth, glyphStorage);