[Indic] don't apply 'calt' by default in Indic shaper
authorJonathan Kew <jfkthame@gmail.com>
Tue, 6 Aug 2013 14:36:14 +0000 (10:36 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 6 Aug 2013 14:36:14 +0000 (10:36 -0400)
src/hb-ot-shape-complex-indic.cc

index d3c475b..a9835df 100644 (file)
@@ -445,6 +445,10 @@ override_features_indic (hb_ot_shape_planner_t *plan)
   if (hb_options ().uniscribe_bug_compatible)
     plan->map.add_feature (HB_TAG('k','e','r','n'), 0, F_GLOBAL);
 
+  /* 'calt' is enabled by default in hb-ot-shape.cc, but is a
+   * discretionary, non-default feature for Indic scripts. */
+  plan->map.add_feature (HB_TAG('c','a','l','t'), 0, F_GLOBAL);
+
   plan->map.add_feature (HB_TAG('l','i','g','a'), 0, F_GLOBAL);
 }