forked from minhngoc25a/freetype2
A few words on prerequisites.
This commit is contained in:
parent
f9350be1e4
commit
b9b74f9f78
32
docs/INSTALL
32
docs/INSTALL
|
@ -4,17 +4,27 @@ your system and the level of customization you need. Here is a short
|
||||||
overview of the documentation available:
|
overview of the documentation available:
|
||||||
|
|
||||||
|
|
||||||
I. Normal installation and upgrades
|
I. Prerequisites and dependencies
|
||||||
===================================
|
=================================
|
||||||
|
|
||||||
0. Modify `include/freetype/config/ftoption.h', if necessary, to
|
FreeType is a low level C library that only depends on the standard
|
||||||
control how the FreeType library gets built. Normally, you don't
|
C library with very few platform-dependent optimizations utilized at
|
||||||
need to change anything.
|
build time. System libraries, such as zlib, Gzip, bzip2, Brotli,
|
||||||
|
and libpng, might be used to handle compressed fonts or decode
|
||||||
|
embedded PNG glyphs.
|
||||||
|
|
||||||
Applications can't control FreeType's behaviour at build time.
|
FreeType auto-configuration scripts should be able to detect the
|
||||||
To make applications control (some of) FreeType's behaviour at
|
prerequisites if the necessary headers are available at the default
|
||||||
run-time, look at the documentation of function
|
locations. Otherwise, modify `include/freetype/config/ftoption.h'
|
||||||
`FT_Property_Set'.
|
to control how the FreeType library gets built. Normally, you don't
|
||||||
|
need to change anything.
|
||||||
|
|
||||||
|
Applications have very limited control over FreeType's behaviour at
|
||||||
|
run-time; look at the documentation of function `FT_Property_Set'.
|
||||||
|
|
||||||
|
|
||||||
|
II. Normal installation and upgrades
|
||||||
|
====================================
|
||||||
|
|
||||||
1. Unix and Unix-like systems
|
1. Unix and Unix-like systems
|
||||||
|
|
||||||
|
@ -70,8 +80,8 @@ I. Normal installation and upgrades
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
|
|
||||||
II. Custom builds of the library
|
III. Custom builds of the library
|
||||||
================================
|
=================================
|
||||||
|
|
||||||
Customizing the compilation of FreeType is easy, and allows you to
|
Customizing the compilation of FreeType is easy, and allows you to
|
||||||
select only the components of the font engine that you really need.
|
select only the components of the font engine that you really need.
|
||||||
|
|
|
@ -57,7 +57,9 @@ or MSys on Win32:
|
||||||
./configure --help
|
./configure --help
|
||||||
|
|
||||||
to see the list of possible configuration options and important
|
to see the list of possible configuration options and important
|
||||||
environment variables.
|
environment variables. The ./configure script will detect some
|
||||||
|
prerequisite system libraries (libpng, brotli, etc.) if their
|
||||||
|
headers are available at the default locations.
|
||||||
|
|
||||||
The following should work on all Unix systems where the `make'
|
The following should work on all Unix systems where the `make'
|
||||||
command invokes GNU Make:
|
command invokes GNU Make:
|
||||||
|
|
Loading…
Reference in New Issue