[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 |
|
---|
[09da197] | 7 | <!ENTITY freetype2-download-http "http://prdownloads.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">
|
---|
| 13 | <!ENTITY freetype2-doc-download "http://prdownloads.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>
|
---|
[caa1fce] | 22 | <keywordset>
|
---|
| 23 | <keyword role="package">freetype-&freetype2-version;.tar</keyword>
|
---|
[22ac237] | 24 | <keyword role="ftpdir">freetype</keyword>
|
---|
[caa1fce] | 25 | </keywordset>
|
---|
[09da197] | 26 | </sect1info>
|
---|
| 27 |
|
---|
| 28 | <title>FreeType-&freetype2-version;</title>
|
---|
| 29 |
|
---|
| 30 | <indexterm zone="freetype2">
|
---|
| 31 | <primary sortas="a-FreeType">FreeType</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
| 35 | <title>Introduction to FreeType2</title>
|
---|
| 36 |
|
---|
[e9116cc] | 37 | <para>The <application>FreeType2</application> package
|
---|
[09da197] | 38 | contains a library to allow applications to properly render
|
---|
| 39 | <application>TrueType</application> fonts.</para>
|
---|
| 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &freetype2-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &freetype2-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &freetype2-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &freetype2-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
[9d3c5f1] | 63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 64 | <itemizedlist spacing="compact">
|
---|
[bccbdaea] | 65 | <listitem>
|
---|
[9d3c5f1] | 66 | <para>Additional documentation: <ulink
|
---|
| 67 | url="&freetype2-doc-download;"/></para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[09da197] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of FreeType2</title>
|
---|
| 75 |
|
---|
[9d3c5f1] | 76 | <para>If you downloaded the additional documentation, unpack it into the
|
---|
| 77 | source tree using the following command:</para>
|
---|
| 78 |
|
---|
[4e97f2d] | 79 | <screen><userinput>tar xf ../freetype-doc-&freetype2-version;.tar.bz2 \
|
---|
| 80 | --strip-components=2 -C docs</userinput></screen>
|
---|
[9d3c5f1] | 81 |
|
---|
[09da197] | 82 | <para>Install <application>FreeType2</application> by running the following
|
---|
| 83 | commands:</para>
|
---|
| 84 |
|
---|
[2ecf9558] | 85 | <screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
|
---|
| 86 | include/freetype/config/ftoption.h &&
|
---|
[52d29f7] | 87 | ./configure --prefix=/usr &&
|
---|
[09da197] | 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <para>This package does not come with a test suite.</para>
|
---|
| 91 |
|
---|
| 92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 93 |
|
---|
[9d3c5f1] | 94 | <screen role="root"><userinput>make install &&
|
---|
| 95 | install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
---|
| 96 | cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
---|
[09da197] | 97 |
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
[2ecf9558] | 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
| 102 |
|
---|
[c138ad9] | 103 | <para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
|
---|
[9d3c5f1] | 104 | include/freetype/config/ftoption.h</command>: This command enables the
|
---|
| 105 | built-in TrueType bytecode interpreter which in turn enables hinting of
|
---|
| 106 | TrueType glyphs. Enabling the interpreter results in much better rendering
|
---|
| 107 | of TrueType fonts.</para>
|
---|
[2ecf9558] | 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
[09da197] | 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
[9bd60d4] | 115 | <segtitle>Installed Program</segtitle>
|
---|
| 116 | <segtitle>Installed Library</segtitle>
|
---|
| 117 | <segtitle>Installed Directory</segtitle>
|
---|
| 118 |
|
---|
| 119 | <seglistitem>
|
---|
| 120 | <seg>freetype-config</seg>
|
---|
| 121 | <seg>libfreetype.[so,a]</seg>
|
---|
| 122 | <seg>/usr/include/freetype2</seg>
|
---|
| 123 | </seglistitem>
|
---|
[09da197] | 124 | </segmentedlist>
|
---|
| 125 |
|
---|
| 126 | <variablelist>
|
---|
| 127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 128 | <?dbfo list-presentation="list"?>
|
---|
| 129 | <?dbhtml list-presentation="table"?>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="freetype-config">
|
---|
| 132 | <term><command>freetype-config</command></term>
|
---|
| 133 | <listitem>
|
---|
[e9116cc] | 134 | <para>is used to get <application>FreeType</application> compilation
|
---|
[09da197] | 135 | and linking information.</para>
|
---|
| 136 | <indexterm zone="freetype2 freetype-config">
|
---|
| 137 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="libfreetype">
|
---|
| 143 | <term><filename class='libraryfile'>libfreetype.[so,a]</filename></term>
|
---|
| 144 | <listitem>
|
---|
[0619e6d] | 145 | <para>contains functions to add <application>TrueType</application>
|
---|
[09da197] | 146 | font capabilities to the X Window system.</para>
|
---|
| 147 | <indexterm zone="freetype2 libfreetype">
|
---|
| 148 | <primary sortas="c-libfreetype">libfreetype.[so,a]</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | </variablelist>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
[19e9cee] | 156 |
|
---|
| 157 | </sect1>
|
---|