xenocara/lib/fontconfig/conf.d/31-nonmst.conf
matthieu 09d4825f0e Use DejaVu TrueType fonts as replacement for the Adobe bitmaps.
While here also provide a replacement for Courier New.
ok oga@
2010-01-21 19:57:57 +00:00

65 lines
1.3 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
$OpenBSD: 31-nonmst.conf,v 1.3 2010/01/21 19:57:57 matthieu Exp $
Replacement using Bitstream Vera fonts.
-->
<match target="pattern">
<test qual="any" name="family">
<string>Times New Roman</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Serif</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>Times</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Serif</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>Arial</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Sans</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Sans</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>Courier</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Sans Mono</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>Courier New</string>
</test>
<edit name="family" mode="assign">
<string>DejaVu Sans Mono</string>
</edit>
</match>
</fontconfig>