10 |
1. Enable the TrueType bytecode hinter if you need it |
1. Enable the TrueType bytecode hinter if you need it |
11 |
----------------------------------------------------- |
----------------------------------------------------- |
12 |
|
|
13 |
See the instructions in the file "TRUETYPE" of this directory. |
See the instructions in the file `TRUETYPE' of this directory. |
14 |
|
|
15 |
Note that FreeType supports TrueType fonts without the bytecode |
Note that FreeType supports TrueType fonts without the bytecode |
16 |
interpreter through its auto-hinter, which now generates relatively |
interpreter through its auto-hinter, which now generates relatively |
20 |
2. Determine the correct installation path |
2. Determine the correct installation path |
21 |
------------------------------------------ |
------------------------------------------ |
22 |
|
|
23 |
By default, the configure script will install the library in |
By default, the configure script installs the library in |
24 |
"/usr/local". However, many Unix distributions now install the |
`/usr/local'. However, many Unix distributions now install the |
25 |
library in "/usr", since FreeType is becoming a critical system |
library in `/usr', since FreeType is becoming a critical system |
26 |
component. |
component. |
27 |
|
|
28 |
If FreeType is already installed on your system, type |
If FreeType is already installed on your system, type |
30 |
freetype-config --prefix |
freetype-config --prefix |
31 |
|
|
32 |
on the command line. This should return the installation path |
on the command line. This should return the installation path |
33 |
(e.g., "/usr" or "/usr/local"). To avoid problems of parallel |
(e.g., `/usr' or `/usr/local'). To avoid problems of parallel |
34 |
FreeType versions, use this path for the --prefix option of the |
FreeType versions, use this path for the --prefix option of the |
35 |
configure script. |
configure script. |
36 |
|
|
37 |
Otherwise, simply use "/usr" (or whatever you think is adequate for |
Otherwise, simply use `/usr' (or whatever you think is adequate for |
38 |
your installation). |
your installation). |
39 |
|
|
40 |
|
|
47 |
the library with the instructions below using any other alternative |
the library with the instructions below using any other alternative |
48 |
(including BSD Make). |
(including BSD Make). |
49 |
|
|
50 |
Trying to compile the library with a different Make tool will print |
Trying to compile the library with a different Make tool prints a |
51 |
a message like: |
message like: |
52 |
|
|
53 |
Sorry, GNU make is required to build FreeType2. |
Sorry, GNU make is required to build FreeType2. |
54 |
|
|
55 |
and the build process will be aborted. If this happens, install GNU |
and the build process is aborted. If this happens, install GNU Make |
56 |
Make on your system, and use the GNUMAKE environment variable to |
on your system, and use the GNUMAKE environment variable to name it. |
|
name it. |
|
57 |
|
|
58 |
|
|
59 |
4. Build and install the library |
4. Build and install the library |
66 |
make |
make |
67 |
make install (as root) |
make install (as root) |
68 |
|
|
69 |
where "<yourprefix>" must be replaced by the prefix returned by the |
where `<yourprefix>' must be replaced by the prefix returned by the |
70 |
"freetype-config" command. |
`freetype-config' command. |
71 |
|
|
72 |
When using a different command to invoke GNU Make, use the GNUMAKE |
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 |
variable. For example, if `gmake' is the command to use on your |
74 |
system, do something like: |
system, do something like: |
75 |
|
|
76 |
GNUMAKE=gmake ./configure --prefix=<yourprefix> |
GNUMAKE=gmake ./configure --prefix=<yourprefix> |
77 |
gmake |
gmake |
78 |
gmake install (as root) |
gmake install (as root) |
79 |
|
|
80 |
|
|
81 |
5. Take care of XFree86 version 4 |
5. Take care of XFree86 version 4 |
82 |
--------------------------------- |
--------------------------------- |
83 |
|
|
84 |
Certain recent Linux distributions will install _several_ versions |
Certain Linux distributions install _several_ versions of FreeType |
85 |
of FreeType on your system. For example, on a fresh Mandrake 8.1 |
on your system. For example, on a fresh Mandrake 8.1 system, you |
86 |
system, you can find the following files: |
can find the following files: |
87 |
|
|
88 |
/usr/lib/libfreetype.so which links to |
/usr/lib/libfreetype.so which links to |
89 |
/usr/lib/libfreetype.6.1.0.so |
/usr/lib/libfreetype.6.1.0.so |
96 |
Note that these files correspond to two distinct versions of the |
Note that these files correspond to two distinct versions of the |
97 |
library! It seems that this surprising issue is due to the install |
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 |
scripts of recent XFree86 servers (from 4.1.0) which install their |
99 |
own (dated) version of the library in "/usr/X11R6/lib". |
own (dated) version of the library in `/usr/X11R6/lib'. |
100 |
|
|
101 |
In certain _rare_ cases you may experience minor problems if you |
In certain _rare_ cases you may experience minor problems if you |
102 |
install this release of the library in "/usr" only, namely, that |
install this release of the library in `/usr' only, namely, that |
103 |
certain applications will not benefit from the bug fixes and |
certain applications do not benefit from the bug fixes and rendering |
104 |
rendering improvements you would expect. |
improvements you would expect. |
105 |
|
|
106 |
There are two good ways to deal with this situation: |
There are two good ways to deal with this situation: |
107 |
|
|
108 |
- Install the library _twice_, in "/usr" and in "/usr/X11R6" (you |
- Install the library _twice_, in `/usr' and in `/usr/X11R6' (you |
109 |
have to do that each time you install a new FreeType release |
have to do that each time you install a new FreeType release |
110 |
though). |
though). |
111 |
|
|
124 |
|
|
125 |
------------------------------------------------------------------------ |
------------------------------------------------------------------------ |
126 |
|
|
127 |
Copyright 2003 by |
Copyright 2003, 2005 by |
128 |
David Turner, Robert Wilhelm, and Werner Lemberg. |
David Turner, Robert Wilhelm, and Werner Lemberg. |
129 |
|
|
130 |
This file is part of the FreeType project, and may only be used, |
This file is part of the FreeType project, and may only be used, |
131 |
modified, and distributed under the terms of the FreeType project |
modified, and distributed under the terms of the FreeType project |
132 |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
133 |
file you indicate that you have read the license and understand and |
file you indicate that you have read the license and understand and |
134 |
accept it fully. |
accept it fully. |
135 |
|
|
136 |
|
|