Date: Mon, 15 May 2006 00:20:22 -0400 From: Paul Bransford <pbransford@gmail.com> To: freebsd-x11@freebsd.org Subject: Re: Font antialiasing Message-ID: <200605150020.23262.pbransford@gmail.com> In-Reply-To: <200605150957.07625.root@solink.ru> References: <2e6f63920605141322y58a7d8a7v1c7dbfcef12b9f05@mail.gmail.com> <200605150957.07625.root@solink.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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>
[-- Attachment #2 --]
<?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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605150020.23262.pbransford>
