From 952121007c6f6f374e4cf1734ebcfe2d2d71c71c Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Tue, 6 Aug 2013 10:36:14 -0400 Subject: [PATCH] [Indic] don't apply 'calt' by default in Indic shaper --- src/hb-ot-shape-complex-indic.cc | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- GitLab