summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp')
-rw-r--r--Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp b/Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp
index 57e76161920..7538eac5568 100644
--- a/Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp
+++ b/Build/source/libs/icu-xetex/layout/KhmerLayoutEngine.cpp
@@ -1,6 +1,5 @@
/*
- *
* (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
*
* This file is a modification of the ICU file IndicLayoutEngine.cpp
@@ -22,14 +21,16 @@ KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontI
le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable)
: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable)
{
- fFeatureOrder = KhmerReordering::getFeatureOrder();
+ fFeatureMap = KhmerReordering::getFeatureMap(fFeatureMapCount);
+ fFeatureOrder = TRUE;
}
KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
le_int32 typoFlags)
: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags)
{
- fFeatureOrder = KhmerReordering::getFeatureOrder();
+ fFeatureMap = KhmerReordering::getFeatureMap(fFeatureMapCount);
+ fFeatureOrder = TRUE;
}
KhmerOpenTypeLayoutEngine::~KhmerOpenTypeLayoutEngine()