Anti-Aliased Text in X11 Continued
keithp sent in a bit more information about the Font stuff we mentioned yesterday. Besides a nice shot of
twm & xterm, Keith sent us proof in the form of a screenshot with
Konqueror, the KDE web browser. He also says "Most of this code is in XFree86 CVS today. The hacked Tk and Qt
libraries will be available in source form soon. Expect the latter to change; they were pretty seriously whacked.
All of the text is rendered with the fine FreeType 2 library
using 256 levels of translucency and composited to the screen
using hardware acceleration at around 200000 glyphs/sec. If
performance becomes an issue, I'm sure we can improve that.
These images are regular anti-aliased images not optimized for any particular sub-pixel geometry. With a single X resource change,
the text would be rasterized to improve quality for LCD screens
as seen here."
Now I'm just waiting for mozilla to support this.
There is only so much anti-aliasing will do to correct bad fonts.
In windows, all of the true type fonts I use look great without anti-aliasing. If you want beautiful fonts in X windows use an X server that supports true type fonts.
-josh
----
AFAIK, apps have to be modified to make use of the new anti-aliasing features. Of course, if you modify the toolkits (GTK/Qt/Xt/etc) to use the anti-aliasing stuff, you're half way there already.
Sure, AA might look beautiful in higher resolutions, but at a low resolution like 640x480 (or even 800x600), it looks like barf.
Total and utter *&^*&^^.. :-)
Antialiasing improves the readability of a font at small sizes. That's why Acorn went to all the trouble of having it in Risc OS back in 1987- when your vertical resolution can be as low as 256 lines or less, keeping the fonts readable as the point size drops below 6 pts is impossible without anti-aliasing. They had this resolution because that was back in the days where people used their tellies as monitors.
Furthermore, some fonts were meant to be shown without anti-aliasing (MS Sans Serif, Times New Roman, and Arial in Windows; I'm sure there's some in X).
Thats because MS still hasn't got it's antialiasing working properly - hence MS 'font smoothing' is an appropriate title. Anti-aliasing is not just about blurring the edges - it is about increasing the apparent resolution of the text by using greyscales - the same way a truecolour phot has a higher apparent resolution than a black-and-white 2 colour image on the same display. Doing it right has a massive effect on the readability of the text on screen. Because MS's implementation doesn't cut it at small point sizes, they tweaked the truetype fonts to render more reliably to the screen instead.
Cheers,
Toby Haynes
Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
The reports I currently am working with require me to analyze them and make decisions based on the information within them. The problem is that these files are about 220 characters wide.
I could reduce the point size on my O2 and still easily read these files. The whole line is available at once, no horizontal scrolling. Very convenient.
I recently 'upgraded' to a linux box. The power in this box absolutely dwarfs my O2, but I can no longer use these small fonts and read stuff. I'm forced to work around it by using a text editor with horizontal scrolling rather than a simple terminal window and 'less'.
I'm still using the same monitor from my O2, so that isn't where the weakness is. Arguably the video card could be spitting out less sharp graphics (nVidia quadro or whatever its called) but most of the impact seems to be from the lack of anti-aliasing.
You've always got the option of not using it, but to make a blanket statement that it isn't useful is inane.
Chris Kuivenhoven is a thief, beware