I recently installed the microsoft core fonts and was wondering how to only disable AA for the ms core fonts. They're installed in /usr/share/fonts/msttcorefonts.
Anyway so far I just have a script which disables AA for fonts smaller then 15 etc. but doing this will wreck some of the other good linux fonts like monospace(I use it for x-chat).
I will paste my .fonts.conf, just incase.
Quote:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<test compare="more" name="pixelsize" qual="any" >
<double>0</double>
</test>
<test compare="less" name="pixelsize" qual="any" >
<double>15</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<match target="pattern" >
<test name="family" qual="any" >
<string>Bitstream Vera Sans</string>
</test>
<edit mode="assign" name="family" >
<string>Arial</string>
</edit>
</match>
<match target="pattern" >
<test name="family" qual="any" >
<string>Helvetica</string>
</test>
<edit mode="assign" name="family" >
<string>Arial</string>
</edit>
</match>
<match target="pattern" >
<test name="family" qual="any" >
<string>Palatino</string>
</test>
<edit mode="assign" name="family" >
<string>Georgia</string>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test compare="more" name="size" qual="any" >
<double>0</double>
</test>
<test compare="less" name="size" qual="any" >
<double>11</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintmedium</const>
</edit>
</match>
</fontconfig>
|