Name Description Size
ft2build.h This is a development version of <ft2build.h> to build the library in debug mode. Its only difference to the default version is that it includes a local `ftoption.h' header file with different settings for many configuration macros. To use it, simply ensure that the directory containing this file is scanned by the compiler before the default FreeType header directory. 1177
ftoption.h USER-SELECTABLE CONFIGURATION MACROS This file contains the default configuration macro definitions for a standard build of the FreeType library. There are three ways to use this file to build project-specific versions of the library: - You can modify this file by hand, but this is not recommended in cases where you would like to build several versions of the library from a single source directory. - You can put a copy of this file in your build directory, more precisely in `$BUILD/freetype/config/ftoption.h`, where `$BUILD` is the name of a directory that is included _before_ the FreeType include path during compilation. The default FreeType Makefiles use the build directory `builds/<system>` by default, but you can easily change that for your own projects. - Copy the file <ft2build.h> to `$BUILD/ft2build.h` and modify it slightly to pre-define the macro `FT_CONFIG_OPTIONS_H` used to locate this file during the build. For example, ``` #define FT_CONFIG_OPTIONS_H <myftoptions.h> #include <freetype/config/ftheader.h> ``` will use `$BUILD/myftoptions.h` instead of this file for macro definitions. Note also that you can similarly pre-define the macro `FT_CONFIG_MODULES_H` used to locate the file listing of the modules that are statically linked to the library at compile time. By default, this file is `<freetype/config/ftmodule.h>`. We highly recommend using the third method whenever possible. 39574