Introduction to FreeType2

The FreeType2 package contains a library to allow applications to properly render TrueType fonts.

Package Information

Additional Downloads

User Notes:

Installation of FreeType2

If you downloaded the additional documentation, unpack it into the source tree using the following command:

tar xf ../freetype-doc-2.1.10.tar.bz2 \
    --strip-components=2 -C docs

Install FreeType2 by running the following commands:

sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
     include/freetype/config/ftoption.h &&
./configure --prefix=/usr &&

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/freetype-2.1.10 &&
cp -v -R docs/* /usr/share/doc/freetype-2.1.10

Command Explanations

sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h: This command enables the built-in TrueType bytecode interpreter which in turn enables hinting of TrueType glyphs. Enabling the interpreter results in much better rendering of TrueType fonts.


Installed Program: freetype-config
Installed Library: libfreetype.{so,a}
Installed Directory: /usr/include/freetype2

Short Descriptions


is used to get FreeType compilation and linking information.


contains functions for rendering various font types, such as TrueType and Type1.

Last updated on 2007-01-15 18:08:14 -0600