[config] Remove remaining AAT context bits if HB_NO_OT_KERN
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
parent
588697afd0
commit
d2ff73b256
@ -43,8 +43,8 @@
|
|||||||
* hb_aat_apply_context_t
|
* hb_aat_apply_context_t
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Note: This context is used for kerning, even without AAT, hence the code location
|
/* Note: This context is used for kerning, even without AAT, hence the condition. */
|
||||||
* before HB_NO_AAT conditional below. */
|
#if !defined(HB_NO_AAT) || !defined(HB_NO_OT_KERN)
|
||||||
|
|
||||||
AAT::hb_aat_apply_context_t::hb_aat_apply_context_t (const hb_ot_shape_plan_t *plan_,
|
AAT::hb_aat_apply_context_t::hb_aat_apply_context_t (const hb_ot_shape_plan_t *plan_,
|
||||||
hb_font_t *font_,
|
hb_font_t *font_,
|
||||||
@ -72,6 +72,8 @@ void
|
|||||||
AAT::hb_aat_apply_context_t::set_ankr_table (const AAT::ankr *ankr_table_)
|
AAT::hb_aat_apply_context_t::set_ankr_table (const AAT::ankr *ankr_table_)
|
||||||
{ ankr_table = ankr_table_; }
|
{ ankr_table = ankr_table_; }
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef HB_NO_AAT
|
#ifndef HB_NO_AAT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user