[Indic] Apply vatu feature after cjct
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 13 May 2012 16:09:29 +0000 (18:09 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 13 May 2012 16:09:29 +0000 (18:09 +0200)
Testing with old Deva spec this reduces failures.
Test sequence: U+0915,U+094D,U+0930.

src/hb-ot-shape-complex-indic.cc

index 05ae161..3712d06 100644 (file)
@@ -101,9 +101,9 @@ indic_basic_features[] =
   {HB_TAG('p','r','e','f'), false},
   {HB_TAG('b','l','w','f'), false},
   {HB_TAG('h','a','l','f'), false},
-  {HB_TAG('v','a','t','u'), true},
   {HB_TAG('p','s','t','f'), false},
   {HB_TAG('c','j','c','t'), false},
+  {HB_TAG('v','a','t','u'), true},
 };
 
 /* Same order as the indic_basic_features array */
@@ -115,9 +115,9 @@ enum {
   PREF,
   BLWF,
   HALF,
-  _VATU,
   PSTF,
-  CJCT
+  CJCT,
+  VATU
 };
 
 static const feature_list_t