提交 ad341d5f 编写于 作者: B Behdad Esfahbod

[config] Fix CoreText build with NO_AAT

上级 3f806673
......@@ -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,7 +178,10 @@ 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册