[config] Minor trak disable
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 19 Jun 2019 23:51:13 +0000 (16:51 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 19 Jun 2019 23:51:23 +0000 (16:51 -0700)
Part of https://github.com/harfbuzz/harfbuzz/issues/1652

src/hb-ot-shape.cc

index f5f1ae6..e11dc15 100644 (file)
@@ -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'));