Kyng Chaos
“The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects.”
- the wisdom of Tarzan

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
macosx/build/freetype2.txt · Last modified: 2010/07/26 13:41 by kyngchaos
Copyright © 2004-2010 William Kyngesburye Driven by DokuWiki Recent changes RSS feed