diff --git a/src/hb-font.cc b/src/hb-font.cc index 4953d00f2..6a4823ab5 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -1538,6 +1538,8 @@ hb_font_get_ppem (hb_font_t *font, } +#ifndef HB_DISABLE_DEPRECATED + /* * Deprecated get_glyph_func(): */ @@ -1660,3 +1662,5 @@ hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs, trampoline, trampoline_destroy); } + +#endif /* HB_DISABLE_DEPRECATED */