source: general/graphlib/freetype2.xml@ 8a6f3bf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 8a6f3bf was 69d725d4, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to clutter-1.26.2.
Update to freetype-2.8.
Update to sysstat-11.5.6.
Update to xfce4-terminal-0.8.5.1.
Update to ffmpeg-3.3.1.

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

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