librsvg source for verification 2026-05-22
This commit is contained in:
BIN
rsvg/tests/resources/Ahem.ttf
Normal file
BIN
rsvg/tests/resources/Ahem.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/DejaVuSans-Bold.ttf
Normal file
BIN
rsvg/tests/resources/DejaVuSans-Bold.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/DejaVuSans.ttf
Normal file
BIN
rsvg/tests/resources/DejaVuSans.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/NotoSansHebrew-Regular.ttf
Normal file
BIN
rsvg/tests/resources/NotoSansHebrew-Regular.ttf
Normal file
Binary file not shown.
9
rsvg/tests/resources/README.md
Normal file
9
rsvg/tests/resources/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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.
|
||||
|
||||
Noto Sans Hebrew: <https://fonts.google.com/noto/specimen/Noto+Sans+Hebrew>
|
||||
BIN
rsvg/tests/resources/Roboto-Bold.ttf
Normal file
BIN
rsvg/tests/resources/Roboto-Bold.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/Roboto-BoldItalic.ttf
Normal file
BIN
rsvg/tests/resources/Roboto-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/Roboto-Italic.ttf
Normal file
BIN
rsvg/tests/resources/Roboto-Italic.ttf
Normal file
Binary file not shown.
BIN
rsvg/tests/resources/Roboto-Regular.ttf
Normal file
BIN
rsvg/tests/resources/Roboto-Regular.ttf
Normal file
Binary file not shown.
55
rsvg/tests/resources/fonts.conf
Normal file
55
rsvg/tests/resources/fonts.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<cachedir>/tmp/rsvg_tests_fontconfig_cache</cachedir>
|
||||
|
||||
<!--
|
||||
From openSUSE's fonts.conf:
|
||||
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>sans</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>sans-serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Map 'serif' to 'sans-serif' since we don't have a serif font in the test resources yet.
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>serif</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>sans-serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Names not including any well known alias are given 'sans-serif'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="all" name="family" compare="not_eq">
|
||||
<string>sans-serif</string>
|
||||
</test>
|
||||
<test qual="all" name="family" compare="not_eq">
|
||||
<string>serif</string>
|
||||
</test>
|
||||
<test qual="all" name="family" compare="not_eq">
|
||||
<string>monospace</string>
|
||||
</test>
|
||||
<edit name="family" mode="append_last">
|
||||
<string>sans-serif</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- Map generic family names to actual fonts -->
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer><family>Roboto</family></prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
||||
Reference in New Issue
Block a user