[config] Add HB_NO_LAYOUT_FEATURE_PARAMS Part of https://github.com/harfbuzz/harfbuzz/issues/1652
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 0761b8e..0b897d5 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc
@@ -1557,6 +1557,7 @@ } +#ifndef HB_NO_LAYOUT_FEATURE_PARAMS /** * hb_ot_layout_get_size_params: * @face: #hb_face_t to work upon @@ -1619,8 +1620,6 @@ return false; } - - /** * hb_ot_layout_feature_get_name_ids: * @face: #hb_face_t to work upon @@ -1695,8 +1694,6 @@ if (first_param_id) *first_param_id = HB_OT_NAME_ID_INVALID; return false; } - - /** * hb_ot_layout_feature_get_characters: * @face: #hb_face_t to work upon @@ -1750,6 +1747,7 @@ if (char_count) *char_count = len; return cv_params.characters.len; } +#endif /*