1 |
Due to our use of "libtool" to generate and install the FreeType 2 |
Due to our use of `libtool' to generate and install the FreeType 2 |
2 |
libraries on Unix systems, as well as other historical events, it is |
libraries on Unix systems, as well as other historical events, it is |
3 |
generally very difficult to know precisely which release of the font |
generally very difficult to know precisely which release of the font |
4 |
engine is installed on a given system. |
engine is installed on a given system. |
7 |
FreeType on Unix. |
FreeType on Unix. |
8 |
|
|
9 |
|
|
10 |
1. Version & Release numbers |
1. Version and Release numbers |
11 |
---------------------------- |
------------------------------ |
12 |
|
|
13 |
For each new public release of FreeType 2, there are generally *three* |
For each new public release of FreeType 2, there are generally *three* |
14 |
distinct "version" numbers to consider: |
distinct `version' numbers to consider: |
15 |
|
|
16 |
* The official FT2 release number, like 2.0.9, or 2.1.3. |
* The official FT2 release number, like 2.0.9, or 2.1.3. |
17 |
|
|
18 |
* The libtool (and Unix) specific version number, like "9.2.3". This |
* The libtool (and Unix) specific version number, like 9.2.3. This is |
19 |
is what "freetype-config --version" will return. |
what `freetype-config --version' returns. |
20 |
|
|
21 |
* The platform-specific shared object number, used for example when |
* The platform-specific shared object number, used for example when |
22 |
the library is installed as "/usr/lib/libfreetype.so.6.3.2". |
the library is installed as `/usr/lib/libfreetype.so.6.3.2'. |
23 |
|
|
24 |
The platform-specific number is, unsurprisingly, platform-specific and |
The platform-specific number is, unsurprisingly, platform-specific and |
25 |
varies with the operating system you are using (several variants of |
varies with the operating system you are using (several variants of |
32 |
The release number is available at *compile* time through the following |
The release number is available at *compile* time through the following |
33 |
macros defined in FT_FREETYPE_H: |
macros defined in FT_FREETYPE_H: |
34 |
|
|
35 |
- FREETYPE_MAJOR : major release number |
- FREETYPE_MAJOR: major release number |
36 |
- FREETYPE_MINOR : minor release number |
- FREETYPE_MINOR: minor release number |
37 |
- FREETYPE_PATCH : patch release number |
- FREETYPE_PATCH: patch release number |
38 |
|
|
39 |
See below for a small autoconf fragment. |
See below for a small autoconf fragment. |
40 |
|
|
41 |
The release number is also available at *runtime* through the |
The release number is also available at *runtime* through the |
42 |
"FT_Library_Version" API. Unfortunately, this one wasn't available or |
`FT_Library_Version' API. Unfortunately, this one wasn't available or |
43 |
working correctly before the 2.1.3 official release. |
working correctly before the 2.1.3 official release. |
44 |
|
|
45 |
|
|
50 |
libtool number, as well as the shared object number found on _most_ |
libtool number, as well as the shared object number found on _most_ |
51 |
systems, but not all of them: |
systems, but not all of them: |
52 |
|
|
53 |
|
|
54 |
release libtool so |
release libtool so |
55 |
------------------------------- |
------------------------------- |
56 |
2.2.0 9.9.3 6.3.9 |
2.2.0 9.9.3 6.3.9 |
75 |
- 2.1.0 was created as a development branch from 2.0.8 (hence the same |
- 2.1.0 was created as a development branch from 2.0.8 (hence the same |
76 |
libtool numbers). |
libtool numbers). |
77 |
|
|
78 |
- 2.0.9 was a bug-fix release of the "stable" branch, and we |
- 2.0.9 was a bug-fix release of the `stable' branch, and we |
79 |
incorrectly increased its libtool number. |
incorrectly increased its libtool number. |
80 |
|
|
81 |
- 2.1.4 is still in the "development" branch, however it is stable |
- 2.1.4 is still in the `development' branch, however it is stable |
82 |
enough to be the basis of an upcoming 2.2.0 release. |
enough to be the basis of an upcoming 2.2.0 release. |
83 |
|
|
84 |
|
|
87 |
|
|
88 |
Lars Clausen contributed the following autoconf fragment to detect which |
Lars Clausen contributed the following autoconf fragment to detect which |
89 |
version of FreeType is installed on a system. This one tests for a |
version of FreeType is installed on a system. This one tests for a |
90 |
version that is at least 2.0.9; you should change it to check against |
version that is at least 2.0.9; you should change it to check against |
91 |
other release numbers. |
other release numbers. |
92 |
|
|
93 |
|
|
114 |
Copyright 2002, 2003, 2004, 2005 by |
Copyright 2002, 2003, 2004, 2005 by |
115 |
David Turner, Robert Wilhelm, and Werner Lemberg. |
David Turner, Robert Wilhelm, and Werner Lemberg. |
116 |
|
|
117 |
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, |
118 |
modified, and distributed under the terms of the FreeType project |
modified, and distributed under the terms of the FreeType project |
119 |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
license, LICENSE.TXT. By continuing to use, modify, or distribute this |
120 |
file you indicate that you have read the license and understand and |
file you indicate that you have read the license and understand and |
121 |
accept it fully. |
accept it fully. |
122 |
|
|
123 |
|
|