From 107a44eb64d6226aa3b72c2cef5d5468ce3a514e Mon Sep 17 00:00:00 2001 From: Eric Mader Date: Wed, 12 Apr 2006 01:32:13 +0000 Subject: [PATCH] ICU-5157 need to add the 'ccmp' feature. X-SVN-Rev: 19531 --- icu4c/source/layout/TibetanReordering.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/icu4c/source/layout/TibetanReordering.cpp b/icu4c/source/layout/TibetanReordering.cpp index f39c87af89..1ddcbfed85 100644 --- a/icu4c/source/layout/TibetanReordering.cpp +++ b/icu4c/source/layout/TibetanReordering.cpp @@ -166,6 +166,7 @@ public: //TODO remove unused flags +#define ccmpFeatureTag LE_CCMP_FEATURE_TAG #define blwfFeatureTag LE_BLWF_FEATURE_TAG #define pstfFeatureTag LE_PSTF_FEATURE_TAG #define presFeatureTag LE_PRES_FEATURE_TAG @@ -192,6 +193,7 @@ public: #define abvsFeatureMask 0x02000000UL #define pstsFeatureMask 0x01000000UL #define cligFeatureMask 0x00800000UL +#define ccmpFeatureMask 0x00040000UL // Positioning features #define distFeatureMask 0x00400000UL @@ -199,11 +201,11 @@ public: #define abvmFeatureMask 0x00100000UL #define mkmkFeatureMask 0x00080000UL -#define tagPref (prefFeatureMask | presFeatureMask | cligFeatureMask | distFeatureMask) -#define tagAbvf (abvfFeatureMask | abvsFeatureMask | cligFeatureMask | distFeatureMask | abvmFeatureMask | mkmkFeatureMask) -#define tagPstf (blwfFeatureMask | blwsFeatureMask | prefFeatureMask | presFeatureMask | pstfFeatureMask | pstsFeatureMask | cligFeatureMask | distFeatureMask | blwmFeatureMask) -#define tagBlwf (blwfFeatureMask | blwsFeatureMask | cligFeatureMask | distFeatureMask | blwmFeatureMask | mkmkFeatureMask) -#define tagDefault (prefFeatureMask | blwfFeatureMask | presFeatureMask | blwsFeatureMask | cligFeatureMask | distFeatureMask | abvmFeatureMask | blwmFeatureMask | mkmkFeatureMask) +#define tagPref (ccmpFeatureMask | prefFeatureMask | presFeatureMask | cligFeatureMask | distFeatureMask) +#define tagAbvf (ccmpFeatureMask | abvfFeatureMask | abvsFeatureMask | cligFeatureMask | distFeatureMask | abvmFeatureMask | mkmkFeatureMask) +#define tagPstf (ccmpFeatureMask | blwfFeatureMask | blwsFeatureMask | prefFeatureMask | presFeatureMask | pstfFeatureMask | pstsFeatureMask | cligFeatureMask | distFeatureMask | blwmFeatureMask) +#define tagBlwf (ccmpFeatureMask | blwfFeatureMask | blwsFeatureMask | cligFeatureMask | distFeatureMask | blwmFeatureMask | mkmkFeatureMask) +#define tagDefault (ccmpFeatureMask | prefFeatureMask | blwfFeatureMask | presFeatureMask | blwsFeatureMask | cligFeatureMask | distFeatureMask | abvmFeatureMask | blwmFeatureMask | mkmkFeatureMask) @@ -212,6 +214,7 @@ public: static const FeatureMap featureMap[] = { // Shaping features + {ccmpFeatureTag, ccmpFeatureMask}, {prefFeatureTag, prefFeatureMask}, {blwfFeatureTag, blwfFeatureMask}, {abvfFeatureTag, abvfFeatureMask},