blob: 585c4dbea2eb278f7bf0748e1fa5b2456ab6d067 [file] [log] [blame]
David Turner66cbc202003-03-20 07:04:40 +00001
Werner Lemberg59939242006-01-31 20:17:42 +00002There are several ways to build the FreeType library, depending on
3your system and the level of customization you need. Here is a short
Werner Lemberga16c4a72003-04-21 13:30:27 +00004overview of the documentation available:
David Turner66cbc202003-03-20 07:04:40 +00005
David Turner66cbc202003-03-20 07:04:40 +00006
Werner Lemberga16c4a72003-04-21 13:30:27 +00007I. Normal installation and upgrades
8===================================
David Turner66cbc202003-03-20 07:04:40 +00009
Werner Lemberga16c4a72003-04-21 13:30:27 +000010 1. Native TrueType Hinting
11
Werner Lemberg59939242006-01-31 20:17:42 +000012 Native TrueType hinting is disabled by default[1]. If you really
Werner Lemberga7235262005-08-30 00:22:46 +000013 need it, read the file `TRUETYPE' for information.
14
Werner Lemberga16c4a72003-04-21 13:30:27 +000015
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +000016 2. Unix Systems (including Mac OS X, Cygwin, and MSys on Windows)
David Turner66cbc202003-03-20 07:04:40 +000017
Werner Lemberg82a07e92006-10-12 06:20:44 +000018 Please read *both* `UPGRADE.UNIX' and `INSTALL.UNIX' to install or
Werner Lemberg59939242006-01-31 20:17:42 +000019 upgrade FreeType 2 on a Unix system. Note that you *need* GNU
20 Make for automatic compilation, since other make tools won't work
21 (this includes BSD Make).
David Turner66cbc202003-03-20 07:04:40 +000022
Werner Lemberga7235262005-08-30 00:22:46 +000023
24 3. On VMS with the `mms' build tool
Werner Lemberg9b774e22007-01-16 06:11:27 +000025
Werner Lemberga7235262005-08-30 00:22:46 +000026 See `INSTALL.VMS' for installation instructions on this platform.
27
David Turner66cbc202003-03-20 07:04:40 +000028
Werner Lemberga16c4a72003-04-21 13:30:27 +000029 4. Other systems using GNU Make
Werner Lemberg9b774e22007-01-16 06:11:27 +000030
Werner Lemberg59939242006-01-31 20:17:42 +000031 On non-Unix platforms, it is possible to build the library using
32 GNU Make utility. Note that *NO OTHER MAKE TOOL WILL WORK*[2]!
33 This methods supports several compilers on Windows, OS/2, and
34 BeOS, including MinGW, Visual C++, Borland C++, and more.
David Turner66cbc202003-03-20 07:04:40 +000035
Werner Lemberga7235262005-08-30 00:22:46 +000036 Instructions are provided in the file `INSTALL.GNU'.
David Turnerc3c7e7f2000-03-13 14:19:31 +000037
Werner Lemberga7235262005-08-30 00:22:46 +000038
39 5. With an IDE Project File (e.g., for Visual Studio or CodeWarrior)
Werner Lemberg9b774e22007-01-16 06:11:27 +000040
Werner Lemberg59939242006-01-31 20:17:42 +000041 We provide a small number of `project files' for various IDEs to
42 automatically build the library as well. Note that these files
43 are not supported and only sporadically maintained by FreeType
Werner Lemberga7235262005-08-30 00:22:46 +000044 developers, so don't expect them to work in each release.
Werner Lemberg9b774e22007-01-16 06:11:27 +000045
Werner Lemberg59939242006-01-31 20:17:42 +000046 To find them, have a look at the content of the `builds/<system>'
David Turner66cbc202003-03-20 07:04:40 +000047 directory, where <system> stands for your OS or environment.
Werner Lemberg3975e2e2002-01-09 21:01:18 +000048
Werner Lemberga7235262005-08-30 00:22:46 +000049
Werner Lemberga16c4a72003-04-21 13:30:27 +000050 6. From you own IDE, or own Makefiles
Werner Lemberg9b774e22007-01-16 06:11:27 +000051
Werner Lemberg59939242006-01-31 20:17:42 +000052 If you want to create your own project file, follow the
53 instructions given in the `INSTALL.ANY' document of this
54 directory.
David Turner7da48242001-12-11 13:14:41 +000055
56
Werner Lemberga16c4a72003-04-21 13:30:27 +000057II. Custom builds of the library
58================================
David Turner7da48242001-12-11 13:14:41 +000059
Werner Lemberg59939242006-01-31 20:17:42 +000060 Customizing the compilation of FreeType is easy, and allows you to
61 select only the components of the font engine that you really need.
Werner Lemberga7235262005-08-30 00:22:46 +000062 For more details read the file `CUSTOMIZE'.
David Turner7da48242001-12-11 13:14:41 +000063
64
Werner Lemberg59939242006-01-31 20:17:42 +000065----------------------------------------------------------------------
David Turner7da48242001-12-11 13:14:41 +000066
David Turner66cbc202003-03-20 07:04:40 +000067[1] More details on: http://www.freetype.org/patents.html
Werner Lemberg5a2fdc02000-12-14 22:57:17 +000068
Werner Lemberg59939242006-01-31 20:17:42 +000069[2] make++, a make tool written in Perl, has sufficient support of GNU
Werner Lemberga7235262005-08-30 00:22:46 +000070 make extensions to build FreeType. See
71
72 http://makepp.sourceforge.net
73
Werner Lemberg59939242006-01-31 20:17:42 +000074 for more information; you need version 1.19 or newer, and you must
Werner Lemberga7235262005-08-30 00:22:46 +000075 pass option `--norc-substitution'.
David Turner7da48242001-12-11 13:14:41 +000076
Werner Lemberg59939242006-01-31 20:17:42 +000077----------------------------------------------------------------------
Werner Lemberg56c368c2005-06-04 23:00:25 +000078
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +000079Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by
Werner Lemberg56c368c2005-06-04 23:00:25 +000080David Turner, Robert Wilhelm, and Werner Lemberg.
81
Werner Lemberg59939242006-01-31 20:17:42 +000082This file is part of the FreeType project, and may only be used,
83modified, and distributed under the terms of the FreeType project
84license, LICENSE.TXT. By continuing to use, modify, or distribute
85this file you indicate that you have read the license and understand
86and accept it fully.
Werner Lemberg56c368c2005-06-04 23:00:25 +000087
88
Werner Lemberga16c4a72003-04-21 13:30:27 +000089--- end of INSTALL ---