Fonts and LCD antialiasing
Marius Gedminas
marius at pov.lt
Tue Jan 18 17:39:30 UTC 2005
On Tue, Jan 18, 2005 at 06:30:47PM +0100, Rune Maagensen wrote:
> I've just apt-get upgraded and now the font's are kinda messed up.
>
> They used to look good, but now there's a hint of color all over,
> especially the bold fonts are ugly. I've tried changing from sans to
> Bitstream Sans, but it's the same.
I had the same problem. Solution: enable subpixel rendering and disable
autohinting, as the latter doesn't work well with the former. You
should be able to do that with dpkg-reconfigure fontconfig, but it
didn't work for me. I just edited /etc/fonts/local.conf manually and
now it looks like:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
<!-- Uncomment below to enable bitmapped fonts -->
<dir>/usr/X11R6/lib/X11/fonts</dir>
<match target="font">
<test qual="all" name="rgba">
<const>unknown</const>
</test>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
-->
</fontconfig>
HTH,
Marius Gedminas
--
Where do you think you're going today?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050118/de663e7c/attachment.sig>
More information about the ubuntu-users
mailing list