Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

119 lines (112 sloc) 3.239 kB
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!--
install ==> print/freetype2 [WITH_LCD_FILTERING=yes and assumes BCI not disabled]
install ==> x11-fonts/dejavu
install ==> x11-fonts/webfonts
install ==> x11-fonts/terminus-font
-->
<!-- reject all bitmap fonts, with the exception of 'terminus' -->
<selectfont>
<acceptfont>
<pattern>
<patelt name="family">
<string>Terminus</string>
</patelt>
</pattern>
</acceptfont>
<rejectfont>
<pattern>
<patelt name="scalable">
<bool>false</bool>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- preferred aliases -->
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
</prefer>
</alias>
<!-- preferred aliases -->
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
</prefer>
</alias>
<!-- preferred aliases -->
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Terminus</family>
</prefer>
</alias>
<!-- default quality settings -->
<match target="font">
<edit mode="assign" name="rgba"><const>none</const></edit>
<edit mode="assign" name="antialias"><bool>true</bool></edit>
<edit mode="assign" name="autohint"><bool>true</bool></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
</match>
<!-- reduce ringing ==> requires freetype2 'WITH_LCD_FILTERING=yes' -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcdlight</const>
</edit>
</match>
<!-- disable autohinting for bold fonts -->
<match target="font">
<test compare="more" name="weight">
<const>medium</const>
</test>
<edit mode="assign" name="autohint">
<bool>false</bool>
</edit>
</match>
<!-- disable autohinting for fonts that don't need it -->
<match target="pattern" name="family">
<test name="family" qual="any">
<string>Andale Mono</string>
<string>Arial Black</string>
<string>Arial</string>
<string>Bitstream Vera Sans</string>
<string>Comic Sans MS</string>
<string>Courier New</string>
<string>Georgia</string>
<string>Impact</string>
<string>Tahoma</string>
<string>Times New Roman</string>
<string>Trebuchet MS</string>
<string>Verdana</string>
<string>Webdings</string>
</test>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="autohint"><bool>false</bool></edit>
</match>
<match target="font">
<edit mode="assign" name="rgba"><const>rgb</const></edit>
</match>
<match target="font">
<edit mode="assign" name="hinting"><bool>true</bool></edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle"><const>hintmedium</const></edit>
</match>
<match target="font">
<edit mode="assign" name="antialias"><bool>true</bool></edit>
</match>
<!-- Workaround firefox and helvetica font problem -->
<match target="pattern">
<test qual="any" name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign" binding="strong"><string>DejaVu Sans</string></edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
Jump to Line
Something went wrong with that request. Please try again.