Table of Contents

FreeType Build

version: 2.4.1
source: FreeType Project
framework: Unix Compatibility Frameworks, also includes build script

parallel: OK

For starters, configure some options manually by editing include/freetype/config/ftoption.h in the source. Find the lines for these settings and define them as follows:

#define FT_CONFIG_OPTION_INCREMENTAL
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
#define TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED
#undef FT_CONFIG_OPTION_OLD_INTERNALS

As of v2.4, the TrueType patents have expired, and TT_CONFIG_OPTION_BYTECODE_INTERPRETER is enabled by default.

Snow Leopard

In the freetype source:

export MACOSX_DEPLOYMENT_TARGET=10.6
./configure --with-old-mac-fonts \
CFLAGS="-Os -arch i386 -arch x86_64"
make
sudo make install

Leopard

In the freetype source:

export MACOSX_DEPLOYMENT_TARGET=10.5
./configure --with-old-mac-fonts \
CFLAGS="-Os -arch ppc -arch i386 -arch ppc64 -arch x86_64"
make
sudo make install

Tiger

In the freetype source:

export MACOSX_DEPLOYMENT_TARGET=10.4
./configure --with-old-mac-fonts \
CFLAGS="-Os -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
make
sudo make install

Panther

In the freetype source:

./configure --with-old-mac-fonts
make
sudo make install