source: general/graphlib/freetype2.xml@ d74ef68

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d74ef68 was d74ef68, checked in by Krejzi <krejzi@…>, 11 years ago

Note: Don't remove installed programs, libs or directories if you are not sure they are still built if the (optional) dependency is present. Also, just go ahead and delete parts instead of commenting them out - if necesary they can be still put back since they can be found in blfs-book archives. Fix/cleanup some unnecesary instructions.

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

  • Property mode set to 100644
File size: 6.7 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 "c72e9010b1d986d556fc0b2b5fcbf31a">
10 <!ENTITY freetype2-size "1.5 MB">
11 <!ENTITY freetype2-buildsize "35 MB (includes installing additional documentation)">
12 <!ENTITY freetype2-time "0.2 SBU">
13
14 <!ENTITY freetype2-doc-version "2.5.0">
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 "40f3d5cc0b16396b3fb6b98eeaa053b2">
18 <!ENTITY freetype2-doc-size "112 KB">
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 &lfs73_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 (FTP): <ulink url="&freetype2-doc-download-ftp;"/>
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Download MD5 sum: &freetype2-doc-md5sum;
96 </para>
97 </listitem>
98 <listitem>
99 <para>
100 Download size: &freetype2-doc-size;
101 </para>
102 </listitem>
103 </itemizedlist>
104
105 <para condition="html" role="usernotes">User Notes:
106 <ulink url="&blfs-wiki;/freetype2"/>
107 </para>
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of FreeType2</title>
112
113 <para>
114 If you downloaded the additional documentation, unpack it into the
115 source tree using the following command:
116 </para>
117
118<screen><userinput>tar -xf ../freetype-doc-&freetype2-version;.tar.bz2 --strip-components=2 -C docs</userinput></screen>
119
120 <para>
121 Install <application>FreeType2</application> by running the following
122 commands:
123 </para>
124
125<screen><userinput>sed -i -e "/AUX.*.gxvalid/s@^# @@" \
126 -e "/AUX.*.otvalid/s@^# @@" \
127 modules.cfg &amp;&amp;
128
129sed -i -e "/#.*.SUBPIXEL/s@/\* @@"
130 -e "/#.*.SUBPIXEL/s@ \*/@@" \
131 include/freetype/config/ftoption.h &amp;&amp;
132
133./configure --prefix=/usr --disable-static &amp;&amp;
134make</userinput></screen>
135
136 <para>
137 This package does not come with a test suite.
138 </para>
139
140 <para>
141 Now, as the <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>make install &amp;&amp;
145install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
146cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <command>sed -e ...</command>:
155 First command enables GX/AAT and OpenType table validation and second
156 command enables Subpixel Rendering and Subpixel Hinting in order to
157 improve font rendering. Note that Subpixel Rendering may have patent issues.
158 Be sure to read the <literal>'Other patent issues'</literal> part of
159 <ulink url="http://www.freetype.org/patents.html"/> before enabling this
160 option.
161 </para>
162
163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/static-libraries.xml"/>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Program</segtitle>
173 <segtitle>Installed Library</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>
178 freetype-config
179 </seg>
180 <seg>
181 libfreetype.so
182 </seg>
183 <seg>
184 /usr/include/freetype2 and
185 /usr/share/doc/freetype-&freetype2-version;
186 </seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="freetype-config">
196 <term><command>freetype-config</command></term>
197 <listitem>
198 <para>
199 is used to get <application>FreeType</application> compilation
200 and linking information.
201 </para>
202 <indexterm zone="freetype2 freetype-config">
203 <primary sortas="b-freetype-config">freetype-config</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="libfreetype">
209 <term><filename class="libraryfile">libfreetype.so</filename></term>
210 <listitem>
211 <para>
212 contains functions for rendering various font types, such
213 as TrueType and Type1.
214 </para>
215 <indexterm zone="freetype2 libfreetype">
216 <primary sortas="c-libfreetype">libfreetype.so</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 </variablelist>
222
223 </sect2>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.