- GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureOrder);
+ if (LE_FAILURE(success)) {
+ return;
+ }
+
+ GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureMap, featureMapCount, featureOrder, success);
+ if (LE_FAILURE(success)) {
+ return;
+ }
+
+ processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success);