Penguin
Diff: SubPixelAntiAliasing
EditPageHistoryDiffInfoLikePages

Differences between version 2 and predecessor to the previous major change of SubPixelAntiAliasing.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Wednesday, February 19, 2003 9:49:05 am by JohnMcPherson Revert
Older page: version 1 Last edited on Monday, February 17, 2003 11:22:47 pm by NeilHoughton Revert
@@ -2,4 +2,13 @@
  
 This is most often referred to when referring to LCD screens, although subpixel antialiasing itself does not depend on an LCD. There is a technique which Microsoft calls ClearType, which exploits the three-band colour nature of LCD pixels to effectively triple the horizontal resolution. When used with subpixel antialiasing, this makes text extremely attractive, although often colour artifacts can be seen depending on the screen. Turning ClearType on on a CRT just makes everything horribly blurry produces terrible colour artifacts -- don't do it, it's not right. 
  
 ClearType has been patented by Microsoft and is only available in Windows XP, although both Freetype2 under X11 and Mac OS X use this technique as well, so the area the patent covers is at the moment unclear. Mac OS X also exploits subpixel antialiasing for rendering 'standard' antialiased text on CRTs, resulting in the far superior (or horribly blurry and ghastly, depending on your viewpoint) text quality under Mac OS X. 
+  
+!Linux support  
+If you are using the free type library (and you probably are if you are using a recent distribution), you can turn on subpixel anti-aliasing. You probably only want to do this on an LCD monitor (ie a flat panel or laptop display).  
+  
+Edit /etc/X11/XftConfig (for every user) or $HOME/.xftconfig (just for yourself) and add the line:  
+ match edit rgba=rgb;  
+This uses colour anti-aliasing rather than grey. You could also try  
+ match edit rgba=bgr;  
+instead to see if it gives better results.