From 937f8d3871863b8b1ed1d8900cf41999d92ba30f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Oct 2012 21:49:33 -0700 Subject: [PATCH] [Arabic] Enable dlig and mset for Arabic That's what the spec says, and what Uniscribe does. --- src/hb-ot-shape-complex-arabic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index 572089186..8428534a4 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -178,8 +178,9 @@ collect_features_arabic (hb_ot_shape_planner_t *plan) map->add_bool_feature (HB_TAG('c','a','l','t')); map->add_gsub_pause (NULL); - /* ArabicOT spec enables 'cswh' for Arabic where as for basic shaper it's disabled by default. */ map->add_bool_feature (HB_TAG('c','s','w','h')); + map->add_bool_feature (HB_TAG('d','l','i','g')); + map->add_bool_feature (HB_TAG('m','s','e','t')); } #include "hb-ot-shape-complex-arabic-fallback.hh"