[librsvg/librsvg-2.48] Disable test for multiple-font-families; restore old reference files
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.48] Disable test for multiple-font-families; restore old reference files
- Date: Thu, 4 Jun 2020 17:53:58 +0000 (UTC)
commit 31b1db917083a8c5465bbd38f256982b2eb76c02
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jun 3 20:37:07 2020 -0500
Disable test for multiple-font-families; restore old reference files
I don't know what's making 577-multiple-font-families.svg pass on my
machine but fail in CI and in RPM builds. So we'll go back to the old
test files for a while.
Findings so far:
- This doesn't depend on order in which font files are added to
FcConfig - changed test-utils.c to use a different order and nothing
changed.
- During pango_itemize for a layout, I think pango is using the first font in the
fontset that contains the codepoint for a particular character, even
if there are other fonts in the fontset. Maybe ordering is not
constant? But given a PangoFontDescription like "Nonexistent, serif,
sans-serif", why is it not using serif first?
Sigh.
...es.svg => ignore-577-multiple-font-families.svg} | 0
.../reftests/svg1.1/struct-use-01-t-ref.png | Bin 14455 -> 14417 bytes
.../fixtures/reftests/svg1.1/text-text-03-b-ref.png | Bin 22298 -> 20014 bytes
tests/resources/NotoSerif-rpn9.ttf | Bin 379452 -> 0 bytes
tests/resources/NotoSerifItalic-2Y8w.ttf | Bin 353836 -> 0 bytes
tests/test-utils.c | 2 --
6 files changed, 2 deletions(-)
---
diff --git a/tests/fixtures/reftests/bugs/577-multiple-font-families.svg
b/tests/fixtures/reftests/bugs/ignore-577-multiple-font-families.svg
similarity index 100%
rename from tests/fixtures/reftests/bugs/577-multiple-font-families.svg
rename to tests/fixtures/reftests/bugs/ignore-577-multiple-font-families.svg
diff --git a/tests/fixtures/reftests/svg1.1/struct-use-01-t-ref.png
b/tests/fixtures/reftests/svg1.1/struct-use-01-t-ref.png
index 70c17189..323c6d90 100644
Binary files a/tests/fixtures/reftests/svg1.1/struct-use-01-t-ref.png and
b/tests/fixtures/reftests/svg1.1/struct-use-01-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/text-text-03-b-ref.png
b/tests/fixtures/reftests/svg1.1/text-text-03-b-ref.png
index 298718f6..948447e2 100644
Binary files a/tests/fixtures/reftests/svg1.1/text-text-03-b-ref.png and
b/tests/fixtures/reftests/svg1.1/text-text-03-b-ref.png differ
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 268c0e4e..44a1f6a0 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -323,8 +323,6 @@ create_font_config_for_testing (void)
{
const char *font_paths[] =
{
- "NotoSerifItalic-2Y8w.ttf",
- "NotoSerif-rpn9.ttf",
"Roboto-Regular.ttf",
"Roboto-Italic.ttf",
"Roboto-Bold.ttf",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]