Fix build with HB_DISABLE_DEPRECATED
When HB_DISABLE_DEPRECATED is defined, no code from hb-deprecated.h should be used, even from within HB itself.
This commit is contained in:
parent
0c7fb7419c
commit
71248a843f
|
@ -1538,6 +1538,8 @@ hb_font_get_ppem (hb_font_t *font,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HB_DISABLE_DEPRECATED
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Deprecated get_glyph_func():
|
* Deprecated get_glyph_func():
|
||||||
*/
|
*/
|
||||||
|
@ -1660,3 +1662,5 @@ hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
|
||||||
trampoline,
|
trampoline,
|
||||||
trampoline_destroy);
|
trampoline_destroy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HB_DISABLE_DEPRECATED */
|
||||||
|
|
Loading…
Reference in New Issue