From eaf4a7364c28663720a9da57bf4d576b6009e17d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 19 Jun 2019 16:51:13 -0700 Subject: [PATCH] [config] Minor trak disable Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-ot-shape.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index f5f1ae6cc..e11dc15ce 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -317,10 +317,12 @@ hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner, /* Random! */ map->enable_feature (HB_TAG ('r','a','n','d'), F_RANDOM, HB_OT_MAP_MAX_VALUE); +#ifndef HB_NO_SHAPE_AAT /* Tracking. We enable dummy feature here just to allow disabling * AAT 'trak' table using features. * https://github.com/harfbuzz/harfbuzz/issues/1303 */ map->enable_feature (HB_TAG ('t','r','a','k'), F_HAS_FALLBACK); +#endif map->enable_feature (HB_TAG ('H','A','R','F'));