|
|
d9fa16 |
--- icu/source/layout/IndicReordering.cpp 2009-07-01 20:51:26.000000000 +0200
|
|
|
d9fa16 |
+++ icu/source/layout/IndicReordering.cpp 2011-01-08 11:12:49.950566538 +0100
|
|
|
d9fa16 |
@@ -13,6 +13,7 @@
|
|
|
d9fa16 |
|
|
|
d9fa16 |
U_NAMESPACE_BEGIN
|
|
|
d9fa16 |
|
|
|
d9fa16 |
+#define ccmpFeatureTag LE_CCMP_FEATURE_TAG
|
|
|
d9fa16 |
#define loclFeatureTag LE_LOCL_FEATURE_TAG
|
|
|
d9fa16 |
#define initFeatureTag LE_INIT_FEATURE_TAG
|
|
|
d9fa16 |
#define nuktFeatureTag LE_NUKT_FEATURE_TAG
|
|
|
d9fa16 |
@@ -35,6 +36,7 @@
|
|
|
d9fa16 |
#define caltFeatureTag LE_CALT_FEATURE_TAG
|
|
|
d9fa16 |
#define kernFeatureTag LE_KERN_FEATURE_TAG
|
|
|
d9fa16 |
|
|
|
d9fa16 |
+#define ccmpFeatureMask 0x00000001UL
|
|
|
d9fa16 |
#define loclFeatureMask 0x80000000UL
|
|
|
d9fa16 |
#define rphfFeatureMask 0x40000000UL
|
|
|
d9fa16 |
#define blwfFeatureMask 0x20000000UL
|
|
|
d9fa16 |
@@ -73,7 +75,7 @@
|
|
|
d9fa16 |
|
|
|
d9fa16 |
#define repositionedGlyphMask 0x00000002UL
|
|
|
d9fa16 |
|
|
|
d9fa16 |
-#define basicShapingFormsMask ( loclFeatureMask | nuktFeatureMask | akhnFeatureMask | rkrfFeatureMask | blwfFeatureMask | halfFeatureMask | vatuFeatureMask | cjctFeatureMask )
|
|
|
d9fa16 |
+#define basicShapingFormsMask ( ccmpFeatureMask | loclFeatureMask | nuktFeatureMask | akhnFeatureMask | rkrfFeatureMask | blwfFeatureMask | halfFeatureMask | vatuFeatureMask | cjctFeatureMask )
|
|
|
d9fa16 |
#define positioningFormsMask ( kernFeatureMask | distFeatureMask | abvmFeatureMask | blwmFeatureMask )
|
|
|
d9fa16 |
#define presentationFormsMask ( presFeatureMask | abvsFeatureMask | blwsFeatureMask | pstsFeatureMask | halnFeatureMask | caltFeatureMask )
|
|
|
d9fa16 |
|
|
|
d9fa16 |
@@ -480,6 +482,7 @@
|
|
|
d9fa16 |
#define tagArray0 (rphfFeatureMask | tagArray1)
|
|
|
d9fa16 |
|
|
|
d9fa16 |
static const FeatureMap featureMap[] = {
|
|
|
d9fa16 |
+ {ccmpFeatureTag, ccmpFeatureMask},
|
|
|
d9fa16 |
{loclFeatureTag, loclFeatureMask},
|
|
|
d9fa16 |
{initFeatureTag, initFeatureMask},
|
|
|
d9fa16 |
{nuktFeatureTag, nuktFeatureMask},
|
|
|
d9fa16 |
@@ -502,6 +505,7 @@
|
|
|
d9fa16 |
static const le_int32 featureCount = LE_ARRAY_SIZE(featureMap);
|
|
|
d9fa16 |
|
|
|
d9fa16 |
static const FeatureMap v2FeatureMap[] = {
|
|
|
d9fa16 |
+ {ccmpFeatureTag, ccmpFeatureMask},
|
|
|
d9fa16 |
{loclFeatureTag, loclFeatureMask},
|
|
|
d9fa16 |
{nuktFeatureTag, nuktFeatureMask},
|
|
|
d9fa16 |
{akhnFeatureTag, akhnFeatureMask},
|