Anti-aliased fonts

Alan Hourihane alanh@fairlite.demon.co.uk
Fri Apr 20 04:58:00 GMT 2001


Someone mentioned wanting anti-aliased fonts....

A small patch to have full anti-aliasing fonts capability.

try 'x11perf -aaftext' to see the performance.

Alan.

Index: winscrinit.c
===================================================================
RCS file: /X11R6/x-cvs/xc/programs/Xserver/hw/xwin/winscrinit.c,v
retrieving revision 1.2
diff -u -r1.2 winscrinit.c
--- winscrinit.c	2001/04/18 17:14:06	1.2
+++ winscrinit.c	2001/04/20 11:24:51
@@ -294,6 +294,8 @@
   /* Setup a local variable to point to the framebuffer */
   pbits = pScreenInfo->pfb;
 
+  miSetPixmapDepths ();
+
   /* Initialize the fb code */
   if (!fbScreenInit (pScreen,
 		     pScreenInfo->pfb,



More information about the Cygwin-xfree mailing list