[config] Minor trak disable

Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
Behdad Esfahbod 2019-06-19 16:51:13 -07:00
parent 971330c058
commit eaf4a7364c
1 changed files with 2 additions and 0 deletions

View File

@ -317,10 +317,12 @@ hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner,
/* Random! */ /* Random! */
map->enable_feature (HB_TAG ('r','a','n','d'), F_RANDOM, HB_OT_MAP_MAX_VALUE); 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 /* Tracking. We enable dummy feature here just to allow disabling
* AAT 'trak' table using features. * AAT 'trak' table using features.
* https://github.com/harfbuzz/harfbuzz/issues/1303 */ * https://github.com/harfbuzz/harfbuzz/issues/1303 */
map->enable_feature (HB_TAG ('t','r','a','k'), F_HAS_FALLBACK); map->enable_feature (HB_TAG ('t','r','a','k'), F_HAS_FALLBACK);
#endif
map->enable_feature (HB_TAG ('H','A','R','F')); map->enable_feature (HB_TAG ('H','A','R','F'));