source: general/graphlib/freetype2.xml@ c1a0390

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 c1a0390 was caa347d, checked in by Krejzi <krejzi@…>, 11 years ago

Enable some Freetype options which are not enabled by default.

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

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