Aegisub/packages/osx_bundle/Contents/Resources/etc/fonts/conf.d/49-sansserif.conf
Amar Takhar a107de7d44 add etc/fonts for fontconfig now that we have bundle-local fontconfig
working.

Originally committed to SVN as r2594.
2009-01-01 04:47:34 +00:00

22 lines
545 B
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add 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>
</fontconfig>