tests/scripts/download-fonts.py script, which will download test fonts to the
tests/data/ directory first.
The tests are only built with the Meson build system, and are disabled by default, enable the ‘tests’ option to compile them, as in:
meson setup out -Dtests=enabled meson compile -C out
meson test -C out