gtk/testsuite/gsk/fonts/fonts.conf
Matthias Clasen 754d364efd gsk: Allow custom fonts in tests
The commit adds a custom fontconfig configuration in
testsuite/gsk/fonts/fonts.conf and sets the FONTCONFIG_FILE
environment variable for the gsk compare tests to point at it.

To use a custom font in tests, just drop it into the
testsuite/gsk/fonts/ directory.

The font configuration includes the system configuration,
so existing tests should not be affected.
2024-01-10 07:58:19 -05:00

8 lines
215 B
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<cachedir>/tmp/cache</cachedir>
<dir prefix="relative">.</dir>
<include>/etc/fonts/fonts.conf</include>
</fontconfig>