dejavu-fonts/dejavu-fonts-experimental-fontconfig.conf

84 lines
2.1 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/conf.d/20-dejavu-experimental.conf
Define aliasing and other fontconfig stuff for DejaVu experimental
families
© 2006 Nicolas Mailhot <nicolas.mailhot at laposte.net>
This file is distributed under the terms of the GNU General
Public License (GPL) version 2. Copies of the GPL can be obtained from:
http://www.gnu.org/licenses/gpl.html
$Id$
-->
<fontconfig>
<!-- Declare substitutes -->
<match>
<test name="family">
<string>DejaVu LGC Sans Condensed</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Sans Condensed</string>
</edit>
</match>
<match>
<test name="family">
<string>Toga Sans</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Sans Condensed</string>
</edit>
</match>
<match>
<test name="family">
<string>DejaVu LGC Serif Condensed</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Serif Condensed</string>
</edit>
</match>
<match>
<test name="family">
<string>Toga Serif</string>
</test>
<edit name="family" mode="append" binding="same">
<string>DejaVu Serif Condensed</string>
</edit>
</match>
<!-- Turn off hinting at small sizes -->
<match target="font">
<test name="family">
<string>DejaVu Sans Condensed</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>DejaVu Serif Condensed</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>DejaVu Sans Mono Condensed</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>