2 SPECIAL NOTE FOR UNIX USERS
3 ===========================
5 If you are installing this release of FreeType on a system that
6 already uses release 2.0.5 (or even an older version), you have to
7 perform a few special steps to ensure that everything goes well.
10 1. Enable the TrueType bytecode hinter if you need it
11 -----------------------------------------------------
13 See the instructions in the file `TRUETYPE' of this directory.
15 Note that FreeType supports TrueType fonts without the bytecode
16 interpreter through its auto-hinter, which now generates relatively
17 good results with most fonts.
20 2. Determine the correct installation path
21 ------------------------------------------
23 By default, the configure script installs the library in
24 `/usr/local'. However, many Unix distributions now install the
25 library in `/usr', since FreeType is becoming a critical system
28 If FreeType is already installed on your system, type
30 freetype-config --prefix
32 on the command line. This should return the installation path
33 (e.g., `/usr' or `/usr/local'). To avoid problems of parallel
34 FreeType versions, use this path for the --prefix option of the
37 Otherwise, simply use `/usr' (or whatever you think is adequate for
41 3. Ensure that you are using GNU Make
42 -------------------------------------
44 The FreeType build system _exclusively_ works with GNU Make (as an
45 exception you can use make++ which emulates GNU Make sufficiently;
46 see http://makepp.sourceforge.net). You will not be able to compile
47 the library with the instructions below using any other alternative
50 Trying to compile the library with a different Make tool prints a
53 Sorry, GNU make is required to build FreeType2.
55 and the build process is aborted. If this happens, install GNU Make
56 on your system, and use the GNUMAKE environment variable to name it.
59 4. Build and install the library
60 --------------------------------
62 The following should work on all Unix systems where the `make'
63 command invokes GNU Make:
65 ./configure --prefix=<yourprefix>
67 make install (as root)
69 where `<yourprefix>' must be replaced by the prefix returned by the
70 `freetype-config' command.
72 When using a different command to invoke GNU Make, use the GNUMAKE
73 variable. For example, if `gmake' is the command to use on your
74 system, do something like:
76 GNUMAKE=gmake ./configure --prefix=<yourprefix>
78 gmake install (as root)
81 5. Take care of XFree86 version 4
82 ---------------------------------
84 Certain Linux distributions install _several_ versions of FreeType
85 on your system. For example, on a fresh Mandrake 8.1 system, you
86 can find the following files:
88 /usr/lib/libfreetype.so which links to
89 /usr/lib/libfreetype.6.1.0.so
93 /usr/X11R6/lib/libfreetype.so which links to
94 /usr/X11R6/lib/libfreetype.6.0.so
96 Note that these files correspond to two distinct versions of the
97 library! It seems that this surprising issue is due to the install
98 scripts of recent XFree86 servers (from 4.1.0) which install their
99 own (dated) version of the library in `/usr/X11R6/lib'.
101 In certain _rare_ cases you may experience minor problems if you
102 install this release of the library in `/usr' only, namely, that
103 certain applications do not benefit from the bug fixes and rendering
104 improvements you would expect.
106 There are two good ways to deal with this situation:
108 - Install the library _twice_, in `/usr' and in `/usr/X11R6' (you
109 have to do that each time you install a new FreeType release
112 - Change the link in /usr/X11R6/lib/libfreetype.so to point to
114 /usr/lib/libfreetype.so,
118 /usr/X11R6/lib/libfreetype.6.0.so
120 The FreeType Team is not responsible for this problem, so please
121 contact either the XFree86 development team or your Linux
122 distributor to help clear this issue in case the information given
125 ------------------------------------------------------------------------
127 Copyright 2003, 2005 by
128 David Turner, Robert Wilhelm, and Werner Lemberg.
130 This file is part of the FreeType project, and may only be used,
131 modified, and distributed under the terms of the FreeType project
132 license, LICENSE.TXT. By continuing to use, modify, or distribute this
133 file you indicate that you have read the license and understand and
137 ---- end of UPGRADE.UNIX ---