diff options
Diffstat (limited to 'Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp')
-rw-r--r-- | Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp b/Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp index 09f564be2b6..ec83e73e462 100644 --- a/Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp +++ b/Build/source/libs/icu-xetex/layout/IndicLayoutEngine.cpp @@ -28,13 +28,17 @@ IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(const LEFontInstance *fontI le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable) : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable), fMPreFixups(NULL) { - fFeatureOrder = IndicReordering::getFeatureOrder(); + fFeatureMap = IndicReordering::getFeatureMap(fFeatureMapCount); + fFeatureOrder = TRUE; + + fFilterZeroWidth = IndicReordering::getFilterZeroWidth(fScriptCode); } IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags) : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags), fMPreFixups(NULL) { - fFeatureOrder = IndicReordering::getFeatureOrder(); + fFeatureMap = IndicReordering::getFeatureMap(fFeatureMapCount); + fFeatureOrder = TRUE; } IndicOpenTypeLayoutEngine::~IndicOpenTypeLayoutEngine() |