anti-aliasing-howto
-------------------
This package is a meta-package, meaning that its purpose is to contain
dependencies to aid in configuration of a Anti-Aliased environment.
Please file a wishlist bug against the package if you feel there are
additional packages that ought to be included with this meta-package.
-------
For starters...this package does not create a AA environment for you.
Also, AA is not available in every app. You need a minimum of X4.0.2
(4.0.3 is going to be a better AA capable release) and a graphics library
that supports it. The Qt packages in Debian sid/testing are built with
Xft (X-FreeType) support which means they are capable of displaying AA
fonts. I also believe that newer versions of the GTK libraries will support
AA as well.
-------
Along with this package you will find an example XftConfig file and a
Qt AA Howto.
-----
Here is some information off the debian-kde lists that someone did.
Date: Wed, 28 Feb 2001 12:58:06 -0500
From: "Christophe Prud'homme" <prudhomm@MIT.EDU>
Subject: some true type fonts tips for kde2.1, qt2.3, xf4.02
To: debian-kde@lists.debian.org
Hi guys
AA support is in XF4.02 and qt2.3 good
so kde2.1 works fine with these
now you most likely have little number of fonts on your computer
so here are some tips
1- grab fonts on http://www.fontfreak.com (thanks to David Kempe
+<dave@solutionsfirst.net> )
2- put them in /usr/share/fonts/truetype for example
if you don't have access to root them create a dir like $HOME/TrueType
3- edit /etc/X11/XftConfig or ~/.xftconfig (if you don't have root access)
4- add the following line
dir "/usr/share/fonts/truetype"
or
dir "~/TrueType" (if don't have root access)
5- restart xfs-xtt
/etc/init.d/xfs-xtt restart (sorry you must be root)
Note that you don't have to restart Kde
try now the Konqueror Configuration and now you have access to your new ttf
+fonts with AA
best regards
C.
-----
and From: Emerson Val Silva <emersonval@ig.com.br>
/etc/X11/XF86Config-4 in section:
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "type1" # Necessary to load Type1 Fonts
Load "freetype" # Necessary to load TrueType Fonts
Load "record"
Load "xie"
Load "Xrender"
EndSection
---
and from Deborah Ariel Pickett <debbiep@mail.csse.monash.edu.au>
Hi,
I didn't see this in the docs for the anti-aliasing-howto package, and
thought it might be helpful for owners of laptops or colour LCD screens.
Please feel free to add it to the docs as you see fit. I found this
trick from a slashdot post and by looking through the source.
The RENDER extension to XFree86 4.0 - the same extension that permits
anti-aliasing in the first place - is able to do sub-pixel anti-aliasing
for LCDs, or other displays where the resolution is fixed and there is a
one-to-one relationship between a pixel and a screen display element.
Sub-pixel Anti-aliasing provides finer display of fonts and other line
graphics, improving the apparent resolution of LCDs. It has no
resolution-improving effect on CRT screens, even displays such as
Trinitron (which don't satisfy the one-to-one property, even though
their phosphors line up like colour LCDs).
To enable this, you need to set an X resource. Mine's in my
~/.Xresources file, which Debian's distribution reads automatically.
I just added this line to it:
Xft.rgba: rgb
This tells the RENDER extension that each pixel is made up of one red,
one green, and one blue display element, lined up left-to-right. This
is a property of the LCD itself, which I determined by using a
magnifying glass.
Other values for the rgba resource are: bgr (like rgb but the order is
blue-green-red going from left to right); vrgb (vertically arranged
elements, red over green over blue); and vbgr (vertically arranged
elements, blue over green over red). No other combinations have been
seen in LCD screens in the wild.
It is necessary to exit to xdm (or equivalent) for the effect to take
place.
The improvement is subtle, and mostly visible in small fonts. There is
a little colour fringing on my display, but from a normal viewing
distance it is barely noticeable.
There's comparison screenshots of this in action on the web, by Keith
Packard (the principal author of the RENDER extenstion):
http://www.xfree86.org/~keithp/render/clear.html
---
There is also a tutorial on LinuxPlanet on setting up AA.
http://www.linuxplanet.com/linuxplanet/tutorials/3093/1/
and of course there is Keith Packards web site. Keith is the guy who did
the AA bits for X.
http://www.xfree86.org/~keithp/render/
----
Ivan