                      Installation instructions

In order to build the font server, you will need (part of) the sources
to X11R6; I work with plain X11R6.3.  This version includes its own,
slightly modified, version of the FreeType library.

In the following, I write `.../xc' for the directory at the top of the
X source tree.

1. Make sure that you know how to compile the standard X font server.
   The proper way of doing this is:

  % cd .../xc
  % make world

As this takes more or less forever, the following way, although crude
and politically incorrect, seems to work for me.

  % cd .../xc/lib/font
  % xmkmf
  % make Makefiles
  % make
  % cd .../xc/programs/xfs
  % xmkmf
  % make Makefiles
  % make

   Of course, you might not want to work directly in the X source
   tree, so you will need to make a link forest.  Good luck.

2. Untar the file `libfont.tar' in `.../xc/lib/font'.  This should
   create a subdirectory FreeType and a file `libfont.patch'.

3. Apply `libfont.patch' in `.../xc/lib/font'.  Remake the makefiles
   under that directory.

5. Recompile $XTOP/xc/lib/font; this will generate a new `libfont.a'
   with support for TrueType.

6. Relink the Font Server with the new libfont.a.

7. You've now got a version of xfs that handles TrueType, as well as
   Speedo and Type 1 fonts encoded in ISO 8859-2.  Please read the
   file `USAGE' before you send me any bug reports.

It is also possible to link the X server itself with the modified
libfont.a.
