[librsvg: 1/15] Add the Ahem font from the Web Platform Tests to the test suite
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/15] Add the Ahem font from the Web Platform Tests to the test suite
- Date: Mon, 18 Oct 2021 23:15:47 +0000 (UTC)
commit 4e3fe7037248a5095ae35c441a9577209744e36b
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Oct 8 16:59:56 2021 -0500
Add the Ahem font from the Web Platform Tests to the test suite
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/613>
tests/resources/Ahem.ttf | Bin 0 -> 21768 bytes
tests/resources/README.md | 7 +++++++
tests/src/utils.rs | 1 +
3 files changed, 8 insertions(+)
---
diff --git a/tests/resources/Ahem.ttf b/tests/resources/Ahem.ttf
new file mode 100644
index 00000000..4d4785a4
Binary files /dev/null and b/tests/resources/Ahem.ttf differ
diff --git a/tests/resources/README.md b/tests/resources/README.md
new file mode 100644
index 00000000..a64c3adb
--- /dev/null
+++ b/tests/resources/README.md
@@ -0,0 +1,7 @@
+# Font for librsvg's test suite
+
+The files here provide a reproducible set of fonts for librsvg's test suite.
+
+The Ahem font is from the Web Platform tests:
+https://web-platform-tests.org/writing-tests/ahem.html - It is a font with fully square
+glyphs.
diff --git a/tests/src/utils.rs b/tests/src/utils.rs
index 895b4ee3..939e1729 100644
--- a/tests/src/utils.rs
+++ b/tests/src/utils.rs
@@ -65,6 +65,7 @@ mod pango_ft2 {
pub unsafe fn load_test_fonts() {
let font_paths = [
+ "tests/resources/Ahem.ttf",
"tests/resources/Roboto-Regular.ttf",
"tests/resources/Roboto-Italic.ttf",
"tests/resources/Roboto-Bold.ttf",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]