[librsvg: 1/3] Add Noto Sans Hebrew for the test suite




commit 7f49e7a8f83c74be55e32eb75c3193097a677305
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 19 13:13:04 2021 -0500

    Add Noto Sans Hebrew for the test suite
    
    It seems that the Ahem font doesn't have glyphs for RTL languages.
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/615>

 tests/resources/NotoSansHebrew-Regular.ttf | Bin 0 -> 17388 bytes
 tests/resources/README.md                  |   2 ++
 tests/src/utils.rs                         |   1 +
 3 files changed, 3 insertions(+)
---
diff --git a/tests/resources/NotoSansHebrew-Regular.ttf b/tests/resources/NotoSansHebrew-Regular.ttf
new file mode 100644
index 00000000..e3845565
Binary files /dev/null and b/tests/resources/NotoSansHebrew-Regular.ttf differ
diff --git a/tests/resources/README.md b/tests/resources/README.md
index a64c3adb..bc15bca7 100644
--- a/tests/resources/README.md
+++ b/tests/resources/README.md
@@ -5,3 +5,5 @@ 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.
+
+Noto Sans Hebrew: https://fonts.google.com/noto/specimen/Noto+Sans+Hebrew
diff --git a/tests/src/utils.rs b/tests/src/utils.rs
index 4788d53d..fb4ad2de 100644
--- a/tests/src/utils.rs
+++ b/tests/src/utils.rs
@@ -66,6 +66,7 @@ mod pango_ft2 {
     pub unsafe fn load_test_fonts() {
         let font_paths = [
             "tests/resources/Ahem.ttf",
+            "tests/resources/NotoSansHebrew-Regular.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]