source: general/graphlib/freetype2.xml@ e7d893b

elogind
Last change on this file since e7d893b was e7d893b, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21602.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21603 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY freetype2-download-http "&sourceforge-dl;/freetype/freetype-&freetype2-version;.tar.bz2">
8 <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
9 <!ENTITY freetype2-md5sum "a717e6925b61b9dda946322ecd278a42">
10 <!ENTITY freetype2-size "2.6 MB">
11 <!ENTITY freetype2-buildsize "29 MB (with additional documentation)">
12 <!ENTITY freetype2-time "0.2 SBU (with additional documentation)">
13
14 <!ENTITY freetype2-doc-version "&freetype2-version;">
15 <!ENTITY freetype2-doc-download-http "&sourceforge-dl;/freetype/freetype-doc-&freetype2-doc-version;.tar.bz2">
16 <!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-doc-version;.tar.bz2">
17 <!ENTITY freetype2-doc-md5sum "a41f85729ce4936e297d869957635e20">
18 <!ENTITY freetype2-doc-size "2.1 MB">
19]>
20
21<sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
22 <?dbhtml filename="freetype2.html"?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>FreeType-&freetype2-version;</title>
30
31 <indexterm zone="freetype2">
32 <primary sortas="a-FreeType">FreeType</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to FreeType2</title>
37
38 <para>
39 The <application>FreeType2</application> package contains
40 a library which allows applications to properly render
41 <application>TrueType</application> fonts.
42 </para>
43
44 &lfs84_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&freetype2-download-http;"/>
51 </para>
52 </listitem>
53<!-- <listitem>
54 <para>
55 Download (FTP): <ulink url="&freetype2-download-ftp;"/>
56 </para>
57 </listitem> -->
58 <listitem>
59 <para>
60 Download MD5 sum: &freetype2-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &freetype2-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &freetype2-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &freetype2-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
81 <itemizedlist spacing="compact">
82 <title>Additional Documentation</title>
83 <listitem>
84 <para>
85 Download (HTTP): <ulink url="&freetype2-doc-download-http;"/>
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Download MD5 sum: &freetype2-doc-md5sum;
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Download size: &freetype2-doc-size;
96 </para>
97 </listitem>
98 </itemizedlist>
99
100 <bridgehead renderas="sect3">FreeType2 Dependencies</bridgehead>
101
102 <bridgehead renderas="sect4">Recommended</bridgehead>
103 <para role="recommended">
104 <xref linkend="harfbuzz"/>
105 (first, install without it, after it is installed, reinstall
106 <xref linkend="freetype2"/>),
107 <xref linkend="libpng"/>, and
108 <xref linkend="which"/>
109 </para>
110
111 <para condition="html" role="usernotes">User Notes:
112 <ulink url="&blfs-wiki;/freetype2"/>
113 </para>
114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of FreeType2</title>
118
119 <para>
120 If you downloaded the additional documentation, unpack it into the
121 source tree using the following command:
122 </para>
123
124<screen><userinput>tar -xf ../freetype-doc-&freetype2-doc-version;.tar.bz2 --strip-components=2 -C docs</userinput></screen>
125
126 <para>
127 Install <application>FreeType2</application> by running the following
128 commands:
129 </para>
130
131<screen><userinput>sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &amp;&amp;
132
133sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
134 -i include/freetype/config/ftoption.h &amp;&amp;
135
136./configure --prefix=/usr --enable-freetype-config --disable-static &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 This package does not come with a test suite.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
149 <para>If you downloaded the optional documentation, install it as the
150 <systemitem class="username">root</systemitem> user:</para>
151
152<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
153cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
154rm -v /usr/share/doc/freetype-&freetype2-version;/freetype-config.1</userinput></screen>
155
156 </sect2>
157
158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
161 <para>
162 <command>sed -ri ...</command>: First command enables GX/AAT and OpenType
163 table validation and second command enables Subpixel Rendering. Note that
164 Subpixel Rendering may have patent issues. Be sure to read the
165 <literal>'Other patent issues'</literal> part of <ulink
166 url="http://www.freetype.org/patents.html"/> before enabling this option.
167 </para>
168
169 <para>
170 <parameter>--enable-freetype-config</parameter>: This switch
171 ensure that the man page for freetype-config is installed.
172 </para>
173
174 <para>
175 <parameter>--without-harfbuzz</parameter>: If
176 <application>harfbuzz</application> is installed prior to
177 <application>freetype</application> without
178 <application>freetype</application> support, use this switch to avoid a
179 build failure.
180 </para>
181
182 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
183 href="../../xincludes/static-libraries.xml"/>
184
185 <para>
186 <command>cp builds/unix/freetype-config /usr/bin</command>: Manually
187 place the freetype configureation program needed by other programs when
188 using the freetype library.
189 </para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Program</segtitle>
198 <segtitle>Installed Library</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
202 <seg>
203 freetype-config
204 </seg>
205 <seg>
206 libfreetype.so
207 </seg>
208 <seg>
209 /usr/include/freetype2 and
210 /usr/share/doc/freetype-&freetype2-version;
211 </seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
220 <varlistentry id="freetype-config">
221 <term><command>freetype-config</command></term>
222 <listitem>
223 <para>
224 is used to get <application>FreeType</application> compilation
225 and linking information.
226 </para>
227 <indexterm zone="freetype2 freetype-config">
228 <primary sortas="b-freetype-config">freetype2-config</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libfreetype">
234 <term><filename class="libraryfile">libfreetype.so</filename></term>
235 <listitem>
236 <para>
237 contains functions for rendering various font types, such
238 as TrueType and Type1.
239 </para>
240 <indexterm zone="freetype2 libfreetype">
241 <primary sortas="c-libfreetype">libfreetype.so</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.