xenocara/dist/fontconfig/conf.d/31-nonmst.conf
matthieu cb861fcea9 Add a substitution from fonts that map to ugly bitmapped ones
Maps to DejaVu fonts. Most of the work done by martynas@
and deraadt@, with inputs and tests from naddy@, todd@
and lots of others.
2013-03-09 13:59:48 +00:00

65 lines
1.3 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
$OpenBSD: 31-nonmst.conf,v 1.1 2013/03/09 13:59:48 matthieu Exp $
Replacement using DejaVu 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>