XFree86 4.0.2 and the Render extension

By Douglas J. Hunley root@hunley.homeip.net

Edited, annotated and hacked into HTML form by pam.roberts@btinternet.com 24 Dec 2000

The latest version (4.0.2) of XFree86 includes improved rendering, allowing anti-aliased fonts and alpha blending. For a brief description of these new features, visit http://www.xfree86.org/~keithp/render

Warning: Not for beginners, and get your system working properly with version 4 of XFree86 before you try this.

Here's what I did to get this working on my system...

1. Download the latest FreeType2 by issuing:

2. Untar it
 tar zxvf freetyp2-current.tar.gz

3. cd into the freetyp2 dir and compile it
 make config && make && make install && ldconfig -v

4. Get XFree86 (I had to use CVS because the Mach64 driver in 4.0.2 doesn't do the Render extension yet) and checkout the 'xc' modules.
Use cvs -d:pserver:anoncvs@anoncvs.xfree86.org:/cvs with a password of "anoncvs'

5. Untar the Xfree86 source files.

6. Create xc/config/cf/host.def with these lines in it:
 #define FreeType2Dir /usr/local
 #define BuildRender YES
 #define BuildXfdtLibrary YES

7. From the 'xc' directory, build the source
 make World

8. Drop to console and install it
 make install && make install.man && ldconfig -v

9. I rebooted here. shouldn't be needed.

10. From a console, run 'xf86cfg' to create a new XF86Config file..

Enjoy, everyone!
Douglas J. Hunley

searchSearch Index