• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ICU-531.30/icuSources/layout/

Lines Matching refs:success

129                      le_int32 typoFlags, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable, LEErrorCode &success)
130 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureMask(minimalFeatures),
133 fGDEFTable(fontInstance, LE_GDEF_TABLE_TAG, success),
134 fGPOSTable(fontInstance, LE_GPOS_TABLE_TAG, success), fSubstitutionFilter(NULL)
142 if (!fGPOSTable.isEmpty()&& !fGPOSTable->coversScript(fGPOSTable, fScriptTag, success)) {
224 le_int32 typoFlags, LEErrorCode &success)
225 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fFeatureOrder(FALSE),
283 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
285 if (LE_FAILURE(success)) {
290 success = LE_ILLEGAL_ARGUMENT_ERROR;
303 success = LE_MEMORY_ALLOCATION_ERROR;
307 if (LE_FAILURE(success)) {
315 if (LE_FAILURE(success)) {
319 glyphStorage.allocateGlyphArray(count, rightToLeft, success);
320 glyphStorage.allocateAuxData(success);
323 glyphStorage.setAuxData(i, fFeatureMask, success);
332 LEGlyphStorage &glyphStorage, LEErrorCode &success)
334 if (LE_FAILURE(success)) {
339 success = LE_ILLEGAL_ARGUMENT_ERROR;
343 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
345 if (LE_FAILURE(success)) {
350 if (fScriptTagV2 != nullScriptTag && fGSUBTable->coversScriptAndLanguage(fGSUBTable, fScriptTagV2, fLangSysTag, success)) {
352 fFeatureMap, fFeatureMapCount, fFeatureOrder, success);
356 fFeatureMap, fFeatureMapCount, fFeatureOrder, success);
365 LEGlyphStorage &glyphStorage, LEErrorCode &success)
367 if (LE_FAILURE(success)) {
372 success = LE_ILLEGAL_ARGUMENT_ERROR;
377 if (fScriptTagV2 != nullScriptTag && fGSUBTable->coversScriptAndLanguage(fGSUBTable,fScriptTagV2,fLangSysTag,success)) {
379 fFeatureMap, fFeatureMapCount, fFeatureOrder, success);
383 fFeatureMap, fFeatureMapCount, fFeatureOrder, success);
389 le_int32 OpenTypeLayoutEngine::glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &success)
391 if (LE_FAILURE(success)) {
403 le_int32 OpenTypeLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success)
409 if (LE_FAILURE(success)) {
414 success = LE_ILLEGAL_ARGUMENT_ERROR;
418 outCharCount = characterProcessing(chars, offset, count, max, rightToLeft, outChars, fakeGlyphStorage, success);
420 if (LE_FAILURE(success)) {
426 glyphProcessing(outChars, 0, outCharCount, outCharCount, rightToLeft, fakeGlyphStorage, success);
431 glyphProcessing(chars, offset, count, max, rightToLeft, fakeGlyphStorage, success);
435 if (LE_FAILURE(success)) {
439 outGlyphCount = glyphPostProcessing(fakeGlyphStorage, glyphStorage, success);
446 LEGlyphStorage &glyphStorage, LEErrorCode &success)
448 if (LE_FAILURE(success)) {
453 success = LE_ILLEGAL_ARGUMENT_ERROR;
467 success = LE_MEMORY_ALLOCATION_ERROR;
487 fGPOSTable->coversScriptAndLanguage(fGPOSTable, fScriptTagV2,fLangSysTag,success)) {
489 fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder);
493 fGDEFTable, success, fFontInstance, fFeatureMap, fFeatureMapCount, fFeatureOrder);
496 LETableReference kernTable(fFontInstance, LE_KERN_TABLE_TAG, success);
497 KernTable kt(kernTable, success);
498 kt.process(glyphStorage, success);
524 glyphStorage.adjustPosition(i, xAdjust + xPlacement, -(yAdjust + yPlacement), success);
530 glyphStorage.adjustPosition(glyphCount, xAdjust, -yAdjust, success);
535 LayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success);