summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-04 23:33:19 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-28 09:03:03 -0500
commit71a597754cd977186a6c9541366a3c893c6ddfc2 (patch)
treebe9b1f0e75ec71ebbde5dc70bd37331a0f81bee7
parente39f3c1d98f332b2cdcb58d30d2950c16161a9a8 (diff)
downloadpango-simple-fontmap.tar.gz
test-itemize: Leave out faceidsimple-fontmap
The faceid in the serialized font description would make the test output backend-dependent, so leave it out for now. This makes PANGOCAIRO_BACKEND=fc2 ./test-itemize succeed.
-rw-r--r--tests/test-itemize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index e5775985..279bcb9a 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -171,6 +171,8 @@ test_file (const gchar *filename, GString *string)
GSList *a;
desc = pango_font_describe (item->analysis.font);
+ /* Leave out faceid for now to avoid backend-dependent test output */
+ pango_font_description_unset_fields (desc, PANGO_FONT_MASK_FACEID);
font = pango_font_description_to_string (desc);
if (l != items)