[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fce275e] | 7 | <!ENTITY freetype2-download-http "&sourceforge-repo;/freetype/freetype-&freetype2-version;.tar.bz2">
|
---|
[fb2e525] | 8 | <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
|
---|
[ee8e5be] | 9 | <!ENTITY freetype2-md5sum "3463102764315eb86c0d3c2e1f3ffb7d">
|
---|
| 10 | <!ENTITY freetype2-size "1.6 MB">
|
---|
[efdbb27] | 11 | <!ENTITY freetype2-buildsize "30 MB (includes installing additional documentation)">
|
---|
[4784037] | 12 | <!ENTITY freetype2-time "0.3 SBU">
|
---|
[c6e8734] | 13 |
|
---|
[fce275e] | 14 | <!ENTITY freetype2-doc-download-http "&sourceforge-repo;/freetype/freetype-doc-&freetype2-version;.tar.bz2">
|
---|
[fb2e525] | 15 | <!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-version;.tar.bz2">
|
---|
[ee8e5be] | 16 | <!ENTITY freetype2-doc-md5sum "e3955ef324b2ceea74dc849e07fbfb7a">
|
---|
[70c0ef4] | 17 | <!ENTITY freetype2-doc-size "108 KB">
|
---|
[52d29f7] | 18 | ]>
|
---|
| 19 |
|
---|
[419dd50] | 20 | <sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
|
---|
[09da197] | 21 | <?dbhtml filename="freetype2.html"?>
|
---|
| 22 |
|
---|
| 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 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 |
|
---|
[70c0ef4] | 37 | <para>
|
---|
| 38 | The <application>FreeType2</application> package contains
|
---|
| 39 | a library which allows applications to properly render
|
---|
| 40 | <application>TrueType</application> fonts.
|
---|
| 41 | </para>
|
---|
[09da197] | 42 |
|
---|
[f534f6f] | 43 | &lfs73_checked;
|
---|
[95e6446] | 44 |
|
---|
[09da197] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[70c0ef4] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&freetype2-download-http;"/>
|
---|
| 50 | </para>
|
---|
[09da197] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[70c0ef4] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&freetype2-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[09da197] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[70c0ef4] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &freetype2-md5sum;
|
---|
| 60 | </para>
|
---|
[09da197] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[70c0ef4] | 63 | <para>
|
---|
| 64 | Download size: &freetype2-size;
|
---|
| 65 | </para>
|
---|
[09da197] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[70c0ef4] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &freetype2-buildsize;
|
---|
| 70 | </para>
|
---|
[09da197] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[70c0ef4] | 73 | <para>
|
---|
| 74 | Estimated build time: &freetype2-time;
|
---|
| 75 | </para>
|
---|
[09da197] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
[9d3c5f1] | 79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 80 | <itemizedlist spacing="compact">
|
---|
[c6e8734] | 81 | <title>Additional Documentation</title>
|
---|
| 82 | <listitem>
|
---|
[70c0ef4] | 83 | <para>
|
---|
| 84 | Download (HTTP): <ulink url="&freetype2-doc-download-http;"/>
|
---|
| 85 | </para>
|
---|
[c6e8734] | 86 | </listitem>
|
---|
| 87 | <listitem>
|
---|
[70c0ef4] | 88 | <para>
|
---|
| 89 | Download (FTP): <ulink url="&freetype2-doc-download-ftp;"/>
|
---|
| 90 | </para>
|
---|
[c6e8734] | 91 | </listitem>
|
---|
| 92 | <listitem>
|
---|
[70c0ef4] | 93 | <para>
|
---|
| 94 | Download MD5 sum: &freetype2-doc-md5sum;
|
---|
| 95 | </para>
|
---|
[c6e8734] | 96 | </listitem>
|
---|
[bccbdaea] | 97 | <listitem>
|
---|
[70c0ef4] | 98 | <para>
|
---|
| 99 | Download size: &freetype2-doc-size;
|
---|
| 100 | </para>
|
---|
[9d3c5f1] | 101 | </listitem>
|
---|
| 102 | </itemizedlist>
|
---|
| 103 |
|
---|
[1039de3] | 104 | <para condition="html" role="usernotes">User Notes:
|
---|
[70c0ef4] | 105 | <ulink url="&blfs-wiki;/freetype2"/>
|
---|
| 106 | </para>
|
---|
[09da197] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
| 110 | <title>Installation of FreeType2</title>
|
---|
| 111 |
|
---|
[70c0ef4] | 112 | <para>
|
---|
| 113 | If you downloaded the additional documentation, unpack it into the
|
---|
| 114 | source tree using the following command:
|
---|
| 115 | </para>
|
---|
[9d3c5f1] | 116 |
|
---|
[651ec29] | 117 | <screen><userinput>tar -xf ../freetype-doc-&freetype2-version;.tar.bz2 \
|
---|
[4e97f2d] | 118 | --strip-components=2 -C docs</userinput></screen>
|
---|
[9d3c5f1] | 119 |
|
---|
[70c0ef4] | 120 | <para>
|
---|
| 121 | Install <application>FreeType2</application> by running the following
|
---|
| 122 | commands:
|
---|
| 123 | </para>
|
---|
[09da197] | 124 |
|
---|
[caa347d] | 125 | <screen><userinput>sed -e "s@FT_CFF_HINTING_FREETYPE@FT_CFF_HINTING_ADOBE@" \
|
---|
| 126 | -i src/cff/cffobjs.c &&
|
---|
| 127 | sed -e "/AUX.*.gxvalid/s@^# @@" -e "/AUX.*.otvalid/s@^# @@" \
|
---|
| 128 | -i modules.cfg &&
|
---|
| 129 | sed -e "/#.*.SUBPIXEL/s@/\* @@" -e "/#.*.SUBPIXEL/s@ \*/@@" \
|
---|
| 130 | -i include/freetype/config/ftoption.h &&
|
---|
[70c0ef4] | 131 | ./configure --prefix=/usr --disable-static &&
|
---|
[09da197] | 132 | make</userinput></screen>
|
---|
| 133 |
|
---|
[70c0ef4] | 134 | <para>
|
---|
| 135 | This package does not come with a test suite.
|
---|
| 136 | </para>
|
---|
[09da197] | 137 |
|
---|
[70c0ef4] | 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
[09da197] | 141 |
|
---|
[9d3c5f1] | 142 | <screen role="root"><userinput>make install &&
|
---|
| 143 | install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
---|
[90ba9f5] | 144 | cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
---|
[09da197] | 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
[2ecf9558] | 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
[70c0ef4] | 151 | <para>
|
---|
[caa347d] | 152 | <command>sed -e ...</command>: First command enables Adobe CFF Engine,
|
---|
| 153 | second command enables GX/AAT and OpenType table validation and third
|
---|
| 154 | command enables Subpixel Rendering and Subpixel Hinting in order to
|
---|
| 155 | improve font rendering. Note that Subpixel Rendering has patent issues.
|
---|
| 156 | Be sure to read the <literal>'Other patent issues'</literal> part of
|
---|
[70c0ef4] | 157 | <ulink url="http://www.freetype.org/patents.html"/> before enabling this
|
---|
| 158 | option.
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
| 161 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 162 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2ecf9558] | 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
[09da197] | 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
[9bd60d4] | 170 | <segtitle>Installed Program</segtitle>
|
---|
| 171 | <segtitle>Installed Library</segtitle>
|
---|
[90ba9f5] | 172 | <segtitle>Installed Directories</segtitle>
|
---|
[9bd60d4] | 173 |
|
---|
| 174 | <seglistitem>
|
---|
[70c0ef4] | 175 | <seg>
|
---|
| 176 | freetype-config
|
---|
| 177 | </seg>
|
---|
| 178 | <seg>
|
---|
| 179 | libfreetype.so
|
---|
| 180 | </seg>
|
---|
| 181 | <seg>
|
---|
| 182 | /usr/include/freetype2 and
|
---|
| 183 | /usr/share/doc/freetype-&freetype2-version;
|
---|
| 184 | </seg>
|
---|
[9bd60d4] | 185 | </seglistitem>
|
---|
[09da197] | 186 | </segmentedlist>
|
---|
| 187 |
|
---|
| 188 | <variablelist>
|
---|
| 189 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 190 | <?dbfo list-presentation="list"?>
|
---|
| 191 | <?dbhtml list-presentation="table"?>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="freetype-config">
|
---|
| 194 | <term><command>freetype-config</command></term>
|
---|
| 195 | <listitem>
|
---|
[70c0ef4] | 196 | <para>
|
---|
| 197 | is used to get <application>FreeType</application> compilation
|
---|
| 198 | and linking information.
|
---|
| 199 | </para>
|
---|
[09da197] | 200 | <indexterm zone="freetype2 freetype-config">
|
---|
| 201 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="libfreetype">
|
---|
[efdbb27] | 207 | <term><filename class="libraryfile">libfreetype.so</filename></term>
|
---|
[09da197] | 208 | <listitem>
|
---|
[70c0ef4] | 209 | <para>
|
---|
| 210 | contains functions for rendering various font types, such
|
---|
| 211 | as TrueType and Type1.
|
---|
| 212 | </para>
|
---|
[09da197] | 213 | <indexterm zone="freetype2 libfreetype">
|
---|
[70c0ef4] | 214 | <primary sortas="c-libfreetype">libfreetype.so</primary>
|
---|
[09da197] | 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | </variablelist>
|
---|
| 220 |
|
---|
| 221 | </sect2>
|
---|
[19e9cee] | 222 |
|
---|
| 223 | </sect1>
|
---|