[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">
|
---|
[70c0ef4] | 9 | <!ENTITY freetype2-md5sum "13286702e9390a91661f980608adaff1">
|
---|
[2a05c87] | 10 | <!ENTITY freetype2-size "1.5 MB">
|
---|
[70c0ef4] | 11 | <!ENTITY freetype2-buildsize "26 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">
|
---|
[70c0ef4] | 16 | <!ENTITY freetype2-doc-md5sum "2611613f2b1d0d846c6b33d49d4933ed">
|
---|
| 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 |
|
---|
[5811f7e] | 43 | &lfs72_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 |
|
---|
[d44b66f] | 125 | <screen><userinput>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
|
---|
[c6e8734] | 126 | include/freetype/config/ftoption.h &&
|
---|
[70c0ef4] | 127 | ./configure --prefix=/usr --disable-static &&
|
---|
[09da197] | 128 | make</userinput></screen>
|
---|
| 129 |
|
---|
[70c0ef4] | 130 | <para>
|
---|
| 131 | This package does not come with a test suite.
|
---|
| 132 | </para>
|
---|
[09da197] | 133 |
|
---|
[70c0ef4] | 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
[09da197] | 137 |
|
---|
[9d3c5f1] | 138 | <screen role="root"><userinput>make install &&
|
---|
| 139 | install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
---|
[90ba9f5] | 140 | cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
---|
[09da197] | 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
[2ecf9558] | 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
[70c0ef4] | 147 | <para>
|
---|
| 148 | <command>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:'
|
---|
| 149 | include/freetype/config/ftoption.h</command>:
|
---|
| 150 | This command enables LCD optimized rendering. This option results in improved
|
---|
| 151 | rendering of fonts, but may have patent restrictions. Be sure to read the
|
---|
| 152 | <literal>'Other patent issues'</literal> part of
|
---|
| 153 | <ulink url="http://www.freetype.org/patents.html"/> before enabling this
|
---|
| 154 | option.
|
---|
| 155 | </para>
|
---|
| 156 |
|
---|
| 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 158 | href="../../xincludes/static-libraries.xml"/>
|
---|
[2ecf9558] | 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
[09da197] | 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
[9bd60d4] | 166 | <segtitle>Installed Program</segtitle>
|
---|
| 167 | <segtitle>Installed Library</segtitle>
|
---|
[90ba9f5] | 168 | <segtitle>Installed Directories</segtitle>
|
---|
[9bd60d4] | 169 |
|
---|
| 170 | <seglistitem>
|
---|
[70c0ef4] | 171 | <seg>
|
---|
| 172 | freetype-config
|
---|
| 173 | </seg>
|
---|
| 174 | <seg>
|
---|
| 175 | libfreetype.so
|
---|
| 176 | </seg>
|
---|
| 177 | <seg>
|
---|
| 178 | /usr/include/freetype2 and
|
---|
| 179 | /usr/share/doc/freetype-&freetype2-version;
|
---|
| 180 | </seg>
|
---|
[9bd60d4] | 181 | </seglistitem>
|
---|
[09da197] | 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="freetype-config">
|
---|
| 190 | <term><command>freetype-config</command></term>
|
---|
| 191 | <listitem>
|
---|
[70c0ef4] | 192 | <para>
|
---|
| 193 | is used to get <application>FreeType</application> compilation
|
---|
| 194 | and linking information.
|
---|
| 195 | </para>
|
---|
[09da197] | 196 | <indexterm zone="freetype2 freetype-config">
|
---|
| 197 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="libfreetype">
|
---|
[70c0ef4] | 203 | <term><filename class='libraryfile'>libfreetype.so</filename></term>
|
---|
[09da197] | 204 | <listitem>
|
---|
[70c0ef4] | 205 | <para>
|
---|
| 206 | contains functions for rendering various font types, such
|
---|
| 207 | as TrueType and Type1.
|
---|
| 208 | </para>
|
---|
[09da197] | 209 | <indexterm zone="freetype2 libfreetype">
|
---|
[70c0ef4] | 210 | <primary sortas="c-libfreetype">libfreetype.so</primary>
|
---|
[09da197] | 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | </variablelist>
|
---|
| 216 |
|
---|
| 217 | </sect2>
|
---|
[19e9cee] | 218 |
|
---|
| 219 | </sect1>
|
---|