FreeType: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/freetype/freetype-2. | | http://prdownloads.sourceforge.net/freetype/freetype-2.1.10.tar.bz2 | ||
|- | |- | ||
!Optional Documentation: | !Optional Documentation: | ||
| http://prdownloads.sourceforge.net/freetype/freetype-doc-2. | | http://prdownloads.sourceforge.net/freetype/freetype-doc-2.1.10.tar.bz2 | ||
|} | |} | ||
'''''Newer versions of FreeType are incompatible with other packages. Please leave FreeType at 2.1.10 unless you've built a fairly complete system against a newer version.''''' | |||
---- | ---- | ||
| Line 16: | Line 18: | ||
If you downloaded the additional documentation, unpack it into the source tree using the following command: | If you downloaded the additional documentation, unpack it into the source tree using the following command: | ||
tar xf ../freetype-doc-2. | tar xf ../freetype-doc-2.1.10.tar.bz2 --strip-components=2 -C docs | ||
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. | 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. | ||
| Line 30: | Line 32: | ||
make install && | make install && | ||
install -v -m755 -d /usr/share/doc/freetype-2. | install -v -m755 -d /usr/share/doc/freetype-2.1.10 && | ||
cp -v -R docs/* /usr/share/doc/freetype-2. | cp -v -R docs/* /usr/share/doc/freetype-2.1.10 | ||
== Multilib == | == Multilib == | ||
| Line 71: | Line 73: | ||
If you downloaded the additional documentation, unpack it into the source tree using the following command: | If you downloaded the additional documentation, unpack it into the source tree using the following command: | ||
tar xf ../freetype-doc-2. | tar xf ../freetype-doc-2.1.10.tar.bz2 --strip-components=2 -C docs | ||
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. | 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. | ||
| Line 87: | Line 89: | ||
mv -v /usr/bin/freetype-config{,-64} && | mv -v /usr/bin/freetype-config{,-64} && | ||
ln -sf multiarch_wrapper /usr/bin/freetype-config && | ln -sf multiarch_wrapper /usr/bin/freetype-config && | ||
install -v -m755 -d /usr/share/doc/freetype-2. | install -v -m755 -d /usr/share/doc/freetype-2.1.10 && | ||
cp -v -R docs/* /usr/share/doc/freetype-2. | cp -v -R docs/* /usr/share/doc/freetype-2.1.10 | ||
Revision as of 11:29, 15 October 2006
| Download Source: | http://prdownloads.sourceforge.net/freetype/freetype-2.1.10.tar.bz2 |
|---|---|
| Optional Documentation: | http://prdownloads.sourceforge.net/freetype/freetype-doc-2.1.10.tar.bz2 |
Newer versions of FreeType are incompatible with other packages. Please leave FreeType at 2.1.10 unless you've built a fairly complete system against a newer version.
Dependencies
Non-Multilib
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
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.
sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h
Configure and compile the package:
./configure --prefix=/usr && make
Install the package:
make install && install -v -m755 -d /usr/share/doc/freetype-2.1.10 && cp -v -R docs/* /usr/share/doc/freetype-2.1.10
Multilib
32Bit
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.
sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h
Configure and compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make
Install the package:
make install &&
mv -v /usr/bin/freetype-config{,-32}
N32
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.
sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h
Configure and compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make
Install the package:
make install &&
mv -v /usr/bin/freetype-config{,-n32}
64Bit
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
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.
sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h
Configure and compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make
Install the package:
make install &&
mv -v /usr/bin/freetype-config{,-64} &&
ln -sf multiarch_wrapper /usr/bin/freetype-config &&
install -v -m755 -d /usr/share/doc/freetype-2.1.10 &&
cp -v -R docs/* /usr/share/doc/freetype-2.1.10