source: general/graphlib/freetype2.xml@ b1c21e0f

10.0 10.1 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 b1c21e0f was df577fc, checked in by Thomas Trepl <thomas@…>, 4 years ago

Upgrade to freetype-2.10.2

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

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