The FreeType2 package contains a library to allow applications to properly render TrueType fonts.
Download (HTTP): http://downloads.sourceforge.net/freetype/freetype-2.1.10.tar.bz2
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/freetype-2.1.10.tar.bz2
Download MD5 sum: a4012e7d1f6400df44a16743b11b8423
Download size: 1.0 MB
Estimated disk space required: 25.0 MB (includes installing additional documentation)
Estimated build time: 0.4 SBU
Additional documentation: http://downloads.sourceforge.net/freetype/freetype-doc-2.1.10.tar.bz2
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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 && make
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
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.
Last updated on 2007-01-15 18:08:14 -0600