FreeType: Difference between revisions
I added the package description from BLFS. |
No edit summary |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
|- | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| http:// | | http://downloads.sourceforge.net/freetype/freetype-{{FreeType-Version}}.tar.bz2 | ||
|- | |-valign="top" | ||
!Optional Documentation: | !Optional Documentation: | ||
| http:// | | http://downloads.sourceforge.net/freetype/freetype-doc-{{FreeType-Version}}.tar.bz2 | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|FreeType (technically Freetype 2) is a high-quality and portable font engine that supports bitmapped and scalable font formats. FreeType provides a high-quality anti-aliasing renderer, an auto-hinting engine, and support for the following font formats: TrueType Type1, CID-Type 1, Multiple Masters Type 1 OpenType/CFF, pure CFF, and CEF Windows FNT/FON.|http://www.freetype.org/}} | |||
== Dependencies == | == Dependencies == | ||
Line 22: | 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- | tar xf ../freetype-doc-{{FreeType-Version}}.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 36: | Line 32: | ||
make install && | make install && | ||
install -v -m755 -d /usr/share/doc/freetype- | install -v -m755 -d /usr/share/doc/freetype-{{FreeType-Version}} && | ||
cp -v -R docs/* /usr/share/doc/freetype- | cp -v -R docs/* /usr/share/doc/freetype-{{FreeType-Version}} | ||
== Multilib == | == Multilib == | ||
Line 77: | 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- | tar xf ../freetype-doc-{{FreeType-Version}}.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 93: | 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- | install -v -m755 -d /usr/share/doc/freetype-{{FreeType-Version}} && | ||
cp -v -R docs/* /usr/share/doc/freetype- | cp -v -R docs/* /usr/share/doc/freetype-{{FreeType-Version}} | ||
= Contents = | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! Installed Programs: | |||
| freetype-config | |||
|-valign="top" | |||
! Installed Libraries: | |||
| libfreetype.{so,a} | |||
|-valign="top" | |||
! Installed Directories: | |||
| /usr/include/freetype2 | |||
|} | |||
=== Short Descriptions === | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! freetype-config | |||
| is used to get FreeType compilation and linking information. | |||
|-valign="top" | |||
! libfreetype.{so,a} | |||
| contains functions to add TrueType font capabilities to the X Window system. | |||
|} | |||
[[Category:Graphics Libraries]] |
Latest revision as of 13:04, 6 September 2009
Download Source: | http://downloads.sourceforge.net/freetype/freetype-2.4.12.tar.bz2 |
---|---|
Optional Documentation: | http://downloads.sourceforge.net/freetype/freetype-doc-2.4.12.tar.bz2 |
Introduction to FreeType
FreeType (technically Freetype 2) is a high-quality and portable font engine that supports bitmapped and scalable font formats. FreeType provides a high-quality anti-aliasing renderer, an auto-hinting engine, and support for the following font formats: TrueType Type1, CID-Type 1, Multiple Masters Type 1 OpenType/CFF, pure CFF, and CEF Windows FNT/FON.
Project Homepage: http://www.freetype.org/
Dependencies
Non-Multilib
If you downloaded the additional documentation, unpack it into the source tree using the following command:
tar xf ../freetype-doc-2.4.12.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.4.12 && cp -v -R docs/* /usr/share/doc/freetype-2.4.12
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.4.12.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.4.12 && cp -v -R docs/* /usr/share/doc/freetype-2.4.12
Contents
Installed Programs: | freetype-config |
---|---|
Installed Libraries: | libfreetype.{so,a} |
Installed Directories: | /usr/include/freetype2 |
Short Descriptions
freetype-config | is used to get FreeType compilation and linking information. |
---|---|
libfreetype.{so,a} | contains functions to add TrueType font capabilities to the X Window system. |