Created
August 7, 2010 11:23
-
-
Save Leonidas-from-XIV/512701 to your computer and use it in GitHub Desktop.
fontconfig adjustment to reject bitmap fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- /etc/fonts/local.conf file to configure system font access --> | |
<fontconfig> | |
<!-- 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 --> | |
<!-- Bitstream Vera Sans Mono --> | |
<string>Courier New</string> | |
</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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment