From 8c0a2e68ad91e55a11162da0cddb355810a4c8a0 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 30 Jul 2019 13:16:15 +0430 Subject: [PATCH] [fuzz] Add dummy call of the added APIs (#1886) --- test/api/test-ot-face.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/api/test-ot-face.c b/test/api/test-ot-face.c index 12ac666a4..eff0ff711 100644 --- a/test/api/test-ot-face.c +++ b/test/api/test-ot-face.c @@ -74,6 +74,8 @@ test_face (hb_face_t *face, hb_ot_color_has_png (face); hb_blob_destroy (hb_ot_color_glyph_reference_png (font, cp)); + hb_ot_layout_get_baseline (font, HB_OT_LAYOUT_BASELINE_TAG_HANGING, HB_DIRECTION_RTL, HB_SCRIPT_HANGUL, HB_TAG_NONE, NULL); + hb_ot_layout_has_glyph_classes (face); hb_ot_layout_has_substitution (face); hb_ot_layout_has_positioning (face); @@ -88,6 +90,14 @@ test_face (hb_face_t *face, hb_ot_math_get_min_connector_overlap (font, HB_DIRECTION_RTL); hb_ot_math_get_glyph_assembly (font, cp, HB_DIRECTION_BTT, 0, NULL, NULL, NULL); + hb_ot_meta_get_entries (face, 0, NULL, NULL); + hb_blob_destroy (hb_ot_meta_reference_entry (face, HB_OT_META_TAG_DESIGN_LANGUAGES)); + + hb_ot_metrics_get_position (font, HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER, NULL); + hb_ot_metrics_get_variation (font, HB_OT_METRICS_TAG_UNDERLINE_OFFSET); + hb_ot_metrics_get_x_variation (font, HB_OT_METRICS_TAG_STRIKEOUT_OFFSET); + hb_ot_metrics_get_y_variation (font, HB_OT_METRICS_TAG_SUPERSCRIPT_EM_X_OFFSET); + len = sizeof (buf); hb_ot_name_list_names (face, NULL); hb_ot_name_get_utf8 (face, cp, NULL, &len, buf);