diff --git a/src/hb-font.cc b/src/hb-font.cc index 817a1a7b0..20daefd27 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -1347,8 +1347,10 @@ hb_font_create (hb_face_t *face) { hb_font_t *font = _hb_font_create (face); +#if !defined(HB_NO_OT_FONT) /* Install our in-house, very lightweight, funcs. */ hb_ot_font_set_funcs (font); +#endif return font; }