Penguin
Diff: SubPixelAntiAliasing
EditPageHistoryDiffInfoLikePages

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

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

Newer page: version 4 Last edited on Saturday, March 1, 2003 9:50:15 pm by JohnMcPherson Revert
Older page: version 2 Last edited on Wednesday, February 19, 2003 9:49:05 am by JohnMcPherson Revert
@@ -6,9 +6,21 @@
  
 !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: 
+----  
+For distributions using the freetype library version 1 (such as Debian Woody and RedHat 7), 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. 
+  
+----  
+In RedHat 8, and other distros which use freetype 2, this is now managed by the fontconfig package, via the /etc/fonts/fonts.conf file. The addition is as follows:  
+  
+  
+<!--  
+ Enable sub-pixel rendering  
+-->  
+ <match target="font">  
+ <edit name="rgba" mode="assign"><const>rgb</const></edit>  
+ </match>