[config] Fix CoreText build with NO_AAT

This commit is contained in:
Behdad Esfahbod 2019-06-28 16:00:37 -07:00
parent 3f806673fb
commit ad341d5f16
1 changed files with 5 additions and 3 deletions

View File

@ -75,9 +75,6 @@ AAT::hb_aat_apply_context_t::set_ankr_table (const AAT::ankr *ankr_table_)
#endif
#ifndef HB_NO_AAT
/**
* SECTION:hb-aat-layout
* @title: hb-aat-layout
@ -88,6 +85,8 @@ AAT::hb_aat_apply_context_t::set_ankr_table (const AAT::ankr *ankr_table_)
**/
#if !defined(HB_NO_AAT) || defined(HAVE_CORETEXT)
/* Table data courtesy of Apple. Converted from mnemonics to integers
* when moving to this file. */
static const hb_aat_feature_mapping_t feature_mappings[] =
@ -179,8 +178,11 @@ hb_aat_layout_find_feature_mapping (hb_tag_t tag)
sizeof (feature_mappings[0]),
hb_aat_feature_mapping_t::cmp);
}
#endif
#ifndef HB_NO_AAT
/*
* mort/morx/kerx/trak
*/