source: general/graphlib/freetype2.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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