summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@gmail.com>2013-08-06 10:36:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-08-06 10:36:14 -0400
commit952121007c6f6f374e4cf1734ebcfe2d2d71c71c (patch)
treea4d46f664a035b9b16014c78d3eda5398ece3043
parent625678436c29100eef82d87e635b251030a18f60 (diff)
[Indic] don't apply 'calt' by default in Indic shaper
-rw-r--r--src/hb-ot-shape-complex-indic.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index d3c475b6..a9835df2 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -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);
}