A few words on prerequisites.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
diff --git a/docs/INSTALL b/docs/INSTALL
index de51d78..1952f04 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -4,17 +4,27 @@ your system and the level of customization you need. Here is a short
overview of the documentation available:
-I. Normal installation and upgrades
-===================================
+I. Prerequisites and dependencies
+=================================
- 0. Modify `include/freetype/config/ftoption.h', if necessary, to
- control how the FreeType library gets built. Normally, you don't
- need to change anything.
+ FreeType is a low level C library that only depends on the standard
+ C library with very few platform-dependent optimizations utilized at
+ 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.
- To make applications control (some of) FreeType's behaviour at
- run-time, look at the documentation of function
- `FT_Property_Set'.
+ FreeType auto-configuration scripts should be able to detect the
+ prerequisites if the necessary headers are available at the default
+ locations. Otherwise, modify `include/freetype/config/ftoption.h'
+ 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
@@ -70,8 +80,8 @@ I. Normal installation and upgrades
directory.
-II. Custom builds of the library
-================================
+III. Custom builds of the library
+=================================
Customizing the compilation of FreeType is easy, and allows you to
select only the components of the font engine that you really need.
diff --git a/docs/INSTALL.UNIX b/docs/INSTALL.UNIX
index bdf42e2..ff4eabe 100644
--- a/docs/INSTALL.UNIX
+++ b/docs/INSTALL.UNIX
@@ -57,7 +57,9 @@ or MSys on Win32:
./configure --help
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'
command invokes GNU Make: