summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2021-06-08 17:44:34 +0200
committerWerner Lemberg <wl@gnu.org>2021-06-08 17:44:53 +0200
commitd586927d1685e1b54085bce8864fa08f0a571d32 (patch)
tree7a1d421cc1d70bea9caf00da903fc60d6f36e090 /docs
parent640f654bd1b62a1ac0eea11820dfa23a28d15ee4 (diff)
downloadfreetype2-d586927d1685e1b54085bce8864fa08f0a571d32.tar.gz
Various documentation improvements and fixes.
Diffstat (limited to 'docs')
-rw-r--r--docs/CHANGES8
-rw-r--r--docs/INSTALL.GNU28
2 files changed, 30 insertions, 6 deletions
diff --git a/docs/CHANGES b/docs/CHANGES
index 3cbc66939..65964f999 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -7,10 +7,10 @@ CHANGES BETWEEN 2.10.4 and 2.11.0
to enable it besides the `T1_CONFIG_OPTION_OLD_ENGINE` and
`CFF_CONFIG_OPTION_OLD_ENGINE` options.
- - A new rendering module has been added to create 16-bit Signed
+ - A new rendering module has been added to create 8-bit Signed
Distance Field (SDF) bitmaps for both outline and bitmap glyphs.
The new rendering mode is called `FT_RENDER_MODE_SDF`, the pixel
- mode is `FT_PIXEL_MODE_GRAY16`, and the corresponding raster flag
+ mode is `FT_PIXEL_MODE_GRAY8`, and the corresponding raster flag
is `FT_RASTER_FLAG_SDF`.
This work was Anuj Verma's GSoC 2020 project.
@@ -72,6 +72,10 @@ CHANGES BETWEEN 2.10.4 and 2.11.0
This work was Priyesh Kumar's GSoC 2020 project.
+ - Improved Meson build support for the library.
+
+ - Meson support to build The FreeType demo programs.
+
- `ttdebug` didn't show changed point coordinates (bug introduced in
version 2.10.3).
diff --git a/docs/INSTALL.GNU b/docs/INSTALL.GNU
index e446f3b2e..8810f2a30 100644
--- a/docs/INSTALL.GNU
+++ b/docs/INSTALL.GNU
@@ -11,9 +11,6 @@ instructions in the file `INSTALL.UNIX' instead.
1. Install GNU Make
-------------------
- Because GNU Make is the only Make tool supported to compile
- FreeType 2, you should install it on your machine.
-
The FreeType 2 build system relies on many features special to GNU
Make.
@@ -100,6 +97,28 @@ instructions in the file `INSTALL.UNIX' instead.
step 5.
+ 3a. Use clang instead of gcc
+ ----------------------------
+
+ The `clang' compiler can use FreeType's setup for `gcc'; it is
+ sufficient to set the `CC' variable, for example
+
+ make CC=clang
+
+
+ 3b. Compiling with a C++ compiler
+ ---------------------------------
+
+ FreeType can be built with a C++ compiler, for example
+
+ make CC="g++"
+
+ If `clang++' should be used it is necessary to also override the
+ `ANSIFLAGS' variable:
+
+ make CC="clang++" ANSIFLAGS=""
+
+
4. Configure the build system for an unknown platform/compiler
--------------------------------------------------------------
@@ -133,7 +152,8 @@ instructions in the file `INSTALL.UNIX' instead.
To launch the build, simply invoke GNU Make again: The top
Makefile will detect the configuration file and run the build with
- it.
+ it. If you have used variables in step 3, you must used the same
+ variables here, too.
Final note