source: general/graphlib/freetype2.xml@ 550d48d8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 550d48d8 was ed9b0761, checked in by DJ Lucas <dj@…>, 7 years ago

Minor fixups.

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

  • Property mode set to 100644
File size: 7.3 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
[8dfc5c3]7 <!ENTITY freetype2-download-http "&sourceforge-dl;/freetype/freetype-&freetype2-version;.tar.bz2">
[fb2e525]8 <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
[b4b75a48]9 <!ENTITY freetype2-md5sum "bf0a210b6fe781228fa0e4a80691a521">
[69d725d4]10 <!ENTITY freetype2-size "1.8 MB">
[f98c985]11 <!ENTITY freetype2-buildsize "26 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;">
[8dfc5c3]15 <!ENTITY freetype2-doc-download-http "&sourceforge-dl;/freetype/freetype-doc-&freetype2-doc-version;.tar.bz2">
[98f3c4f7]16 <!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-doc-version;.tar.bz2">
[b4b75a48]17 <!ENTITY freetype2-doc-md5sum "341929cd7ecf9602c73befa9e5d37025">
[fcd1100]18 <!ENTITY freetype2-doc-size "2.1 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
[5ae3416]44 &lfs81_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
[1039de3]111 <para condition="html" role="usernotes">User Notes:
[70c0ef4]112 <ulink url="&blfs-wiki;/freetype2"/>
113 </para>
[09da197]114 </sect2>
115
116 <sect2 role="installation">
117 <title>Installation of FreeType2</title>
118
[70c0ef4]119 <para>
120 If you downloaded the additional documentation, unpack it into the
121 source tree using the following command:
122 </para>
[9d3c5f1]123
[5edcd4b]124<screen><userinput>tar -xf ../freetype-doc-&freetype2-doc-version;.tar.bz2 --strip-components=2 -C docs</userinput></screen>
[9d3c5f1]125
[70c0ef4]126 <para>
127 Install <application>FreeType2</application> by running the following
128 commands:
129 </para>
[09da197]130
[df343952]131<screen><userinput>sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &amp;&amp;
[98f3c4f7]132
[fcd1100]133sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
[a9ae025]134 -i include/freetype/config/ftoption.h &amp;&amp;
[98f3c4f7]135
[127da0c]136./configure --prefix=/usr --disable-static &amp;&amp;
[09da197]137make</userinput></screen>
138
[70c0ef4]139 <para>
140 This package does not come with a test suite.
141 </para>
[09da197]142
[70c0ef4]143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
[09da197]146
[ed9b0761]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;
[90ba9f5]153cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
[09da197]154
155 </sect2>
156
[2ecf9558]157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
[fcd1100]160 <para>
[3fdc9b0]161 <command>sed -ri ...</command>: First command enables GX/AAT and OpenType
[fcd1100]162 table validation and second command enables Subpixel Rendering. Note that
163 Subpixel Rendering may have patent issues. Be sure to read the
164 <literal>'Other patent issues'</literal> part of <ulink
165 url="http://www.freetype.org/patents.html"/> before enabling this option.
[70c0ef4]166 </para>
167
[2ec7beca]168 <para>
169 <parameter>--without-harfbuzz</parameter>: If
170 <application>harfbuzz</application> is installed prior to
171 <application>freetype</application> without
172 <application>freetype</application> support, use this switch to avoid a
173 build failure.
174 </para>
175
[70c0ef4]176 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
177 href="../../xincludes/static-libraries.xml"/>
[2ecf9558]178
179 </sect2>
180
[09da197]181 <sect2 role="content">
182 <title>Contents</title>
183
184 <segmentedlist>
[9bd60d4]185 <segtitle>Installed Program</segtitle>
186 <segtitle>Installed Library</segtitle>
[90ba9f5]187 <segtitle>Installed Directories</segtitle>
[9bd60d4]188
189 <seglistitem>
[70c0ef4]190 <seg>
191 freetype-config
192 </seg>
193 <seg>
194 libfreetype.so
195 </seg>
196 <seg>
197 /usr/include/freetype2 and
198 /usr/share/doc/freetype-&freetype2-version;
199 </seg>
[9bd60d4]200 </seglistitem>
[09da197]201 </segmentedlist>
202
203 <variablelist>
204 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
205 <?dbfo list-presentation="list"?>
206 <?dbhtml list-presentation="table"?>
207
208 <varlistentry id="freetype-config">
209 <term><command>freetype-config</command></term>
210 <listitem>
[70c0ef4]211 <para>
212 is used to get <application>FreeType</application> compilation
213 and linking information.
214 </para>
[09da197]215 <indexterm zone="freetype2 freetype-config">
216 <primary sortas="b-freetype-config">freetype-config</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="libfreetype">
[efdbb27]222 <term><filename class="libraryfile">libfreetype.so</filename></term>
[09da197]223 <listitem>
[70c0ef4]224 <para>
225 contains functions for rendering various font types, such
226 as TrueType and Type1.
227 </para>
[09da197]228 <indexterm zone="freetype2 libfreetype">
[70c0ef4]229 <primary sortas="c-libfreetype">libfreetype.so</primary>
[09da197]230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235
236 </sect2>
[19e9cee]237
238</sect1>
Note: See TracBrowser for help on using the repository browser.