Font antialiasing
Paul Bransford
pbransford at gmail.com
Mon May 15 04:25:01 UTC 2006
Well, i figured it out. Apparently the handbook tells you how to set certain
fonts to behave, but gracefully leaves out the important part: enabling it in
the first place!
Here's my local.conf file. Note that this is the important part:
<match target="font">
<test qual="any" name="size" compare="more">
<double>9</double>
</test>
<test qual="any" name="size" compare="less">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
-------------- next part --------------
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern" name="family">
<test qual="any" name="family">
<string>fixed</string>
</test>
<edit name="family" mode="assign">
<string>mono</string>
</edit>
</match>
<match target="pattern" name="family">
<test qual="any" name="family">
<string>console</string>
</test>
<edit name="family" mode="assign">
<string>mono</string>
</edit>
</match>
<match target="pattern" name="family">
<test qual="any" name="family">
<string>mono</string>
</test>
<edit name="spacing" mode="assign">
<int>100</int>
</edit>
</match>
<match target="pattern" name="family">
<test qual="any" name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>
<match target="font">
<test qual="any" name="size" compare="more">
<double>9</double>
</test>
<test qual="any" name="size" compare="less">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
More information about the freebsd-x11
mailing list