<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- Info at http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts --> <!-- Replace Courier with a better-looking font --> <match target="pattern" name="family"> <test name="family" qual="any"> <string>Courier</string> </test> <edit name="family" mode="assign"> <!-- Other choices - Courier New, Luxi Mono --> <string>Bitstream Vera Sans Mono</string> </edit> </match> <match target="font"> <edit name="rgba" mode="assign"> <const>vrgb</const> </edit> <edit name="autohint" mode="assign"> <bool>true</bool> </edit> <edit name="antialias" mode="assign"> <bool>true</bool> </edit> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> <edit name="hintstyle" mode="assign"> <const>hintmedium</const> </edit> </match> <!-- Disable autohint for bold fonts, otherwise they look *too* bold --> <match target="font"> <test name="weight" compare="more"> <const>medium</const> </test> <edit name="autohint" mode="assign"> <bool>false</bool> </edit> </match> <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. --> <selectfont> <rejectfont> <pattern> <patelt name="scalable"> <bool>false</bool> </patelt> </pattern> </rejectfont> </selectfont> </fontconfig>