summaryrefslogtreecommitdiff
path: root/tests/testhbfont.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-07 21:56:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:54:01 -0400
commita32bfd207a2ef77165d322f2672c2d469474b9d0 (patch)
treeb769ca4a7b3cda8de72d53b4e3ce2932c8321463 /tests/testhbfont.c
parent2062ff68781d08efe4c37a9ab0a987d7b95964bf (diff)
downloadpango-a32bfd207a2ef77165d322f2672c2d469474b9d0.tar.gz
Drop some font family apis
Drop pango_font_family_is_monospace/variable/generic, since these are better as face apis.
Diffstat (limited to 'tests/testhbfont.c')
-rw-r--r--tests/testhbfont.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testhbfont.c b/tests/testhbfont.c
index 90749223..1e4f847b 100644
--- a/tests/testhbfont.c
+++ b/tests/testhbfont.c
@@ -46,13 +46,9 @@ test_hbfont_monospace (void)
family = pango_font_map_get_family (PANGO_FONT_MAP (map), "Cantarell");
g_assert_nonnull (family);
- g_assert_false (pango_font_family_is_variable (family));
- g_assert_false (pango_font_family_is_monospace (family));
pango_hb_font_map_add_face (map, PANGO_FONT_FACE (pango_hb_face_new_from_file (path, 0, -2, NULL, NULL)));
- g_assert_true (pango_font_family_is_variable (family));
-
g_free (path);
path = g_test_build_filename (G_TEST_DIST, "fonts", "DejaVuSansMono.ttf", NULL);
@@ -62,8 +58,6 @@ test_hbfont_monospace (void)
family = pango_font_map_get_family (PANGO_FONT_MAP (map), "DejaVu Sans Mono");
g_assert_nonnull (family);
- g_assert_false (pango_font_family_is_variable (family));
- g_assert_true (pango_font_family_is_monospace (family));
g_object_unref (map);
}