[pango/simple-fontmap: 37/37] test-itemize: Leave out faceid
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/simple-fontmap: 37/37] test-itemize: Leave out faceid
- Date: Mon, 10 Jan 2022 04:11:37 +0000 (UTC)
commit 7b37b306c607391d493ab6b8e3fcee38abc2b215
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jan 4 23:33:19 2022 -0500
test-itemize: Leave out faceid
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.
tests/test-itemize.c | 2 ++
1 file changed, 2 insertions(+)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]