[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[15b3bc29] | 7 | <!ENTITY freetype2-download-http "http://downloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
|
---|
[9d3c5f1] | 8 | <!ENTITY freetype2-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/freetype-&freetype2-version;.tar.bz2">
|
---|
| 9 | <!ENTITY freetype2-md5sum "a4012e7d1f6400df44a16743b11b8423">
|
---|
| 10 | <!ENTITY freetype2-size "1.0 MB">
|
---|
| 11 | <!ENTITY freetype2-buildsize "25.0 MB (includes installing additional documentation)">
|
---|
| 12 | <!ENTITY freetype2-time "0.4 SBU">
|
---|
[15b3bc29] | 13 | <!ENTITY freetype2-doc-download "http://downloads.sourceforge.net/freetype/freetype-doc-&freetype2-version;.tar.bz2">
|
---|
[52d29f7] | 14 | ]>
|
---|
| 15 |
|
---|
[419dd50] | 16 | <sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
|
---|
[09da197] | 17 | <?dbhtml filename="freetype2.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>FreeType-&freetype2-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="freetype2">
|
---|
| 27 | <primary sortas="a-FreeType">FreeType</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to FreeType2</title>
|
---|
| 32 |
|
---|
[e9116cc] | 33 | <para>The <application>FreeType2</application> package
|
---|
[09da197] | 34 | contains a library to allow applications to properly render
|
---|
| 35 | <application>TrueType</application> fonts.</para>
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &freetype2-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &freetype2-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &freetype2-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &freetype2-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
[9d3c5f1] | 59 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 60 | <itemizedlist spacing="compact">
|
---|
[bccbdaea] | 61 | <listitem>
|
---|
[9d3c5f1] | 62 | <para>Additional documentation: <ulink
|
---|
| 63 | url="&freetype2-doc-download;"/></para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[1039de3] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/freetype2"/></para>
|
---|
| 69 |
|
---|
[09da197] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of FreeType2</title>
|
---|
| 74 |
|
---|
[9d3c5f1] | 75 | <para>If you downloaded the additional documentation, unpack it into the
|
---|
| 76 | source tree using the following command:</para>
|
---|
| 77 |
|
---|
[4e97f2d] | 78 | <screen><userinput>tar xf ../freetype-doc-&freetype2-version;.tar.bz2 \
|
---|
| 79 | --strip-components=2 -C docs</userinput></screen>
|
---|
[9d3c5f1] | 80 |
|
---|
[09da197] | 81 | <para>Install <application>FreeType2</application> by running the following
|
---|
| 82 | commands:</para>
|
---|
| 83 |
|
---|
[2ecf9558] | 84 | <screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
|
---|
| 85 | include/freetype/config/ftoption.h &&
|
---|
[52d29f7] | 86 | ./configure --prefix=/usr &&
|
---|
[09da197] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>This package does not come with a test suite.</para>
|
---|
| 90 |
|
---|
| 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
[9d3c5f1] | 93 | <screen role="root"><userinput>make install &&
|
---|
| 94 | install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
---|
| 95 | cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
---|
[09da197] | 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
[2ecf9558] | 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
[c138ad9] | 102 | <para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
|
---|
[9d3c5f1] | 103 | include/freetype/config/ftoption.h</command>: This command enables the
|
---|
| 104 | built-in TrueType bytecode interpreter which in turn enables hinting of
|
---|
| 105 | TrueType glyphs. Enabling the interpreter results in much better rendering
|
---|
| 106 | of TrueType fonts.</para>
|
---|
[2ecf9558] | 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
[09da197] | 110 | <sect2 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
[9bd60d4] | 114 | <segtitle>Installed Program</segtitle>
|
---|
| 115 | <segtitle>Installed Library</segtitle>
|
---|
| 116 | <segtitle>Installed Directory</segtitle>
|
---|
| 117 |
|
---|
| 118 | <seglistitem>
|
---|
| 119 | <seg>freetype-config</seg>
|
---|
[1039de3] | 120 | <seg>libfreetype.{so,a}</seg>
|
---|
[9bd60d4] | 121 | <seg>/usr/include/freetype2</seg>
|
---|
| 122 | </seglistitem>
|
---|
[09da197] | 123 | </segmentedlist>
|
---|
| 124 |
|
---|
| 125 | <variablelist>
|
---|
| 126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 127 | <?dbfo list-presentation="list"?>
|
---|
| 128 | <?dbhtml list-presentation="table"?>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="freetype-config">
|
---|
| 131 | <term><command>freetype-config</command></term>
|
---|
| 132 | <listitem>
|
---|
[e9116cc] | 133 | <para>is used to get <application>FreeType</application> compilation
|
---|
[09da197] | 134 | and linking information.</para>
|
---|
| 135 | <indexterm zone="freetype2 freetype-config">
|
---|
| 136 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="libfreetype">
|
---|
[1039de3] | 142 | <term><filename class='libraryfile'>libfreetype.{so,a}</filename></term>
|
---|
[09da197] | 143 | <listitem>
|
---|
[ff25feab] | 144 | <para>contains functions for rendering various font types, such
|
---|
| 145 | as TrueType and Type1.</para>
|
---|
[09da197] | 146 | <indexterm zone="freetype2 libfreetype">
|
---|
[1039de3] | 147 | <primary sortas="c-libfreetype">libfreetype.{so,a}</primary>
|
---|
[09da197] | 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
[19e9cee] | 155 |
|
---|
| 156 | </sect1>
|
---|