source: general/graphlib/freetype2.xml@ ee8e5be

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ee8e5be was ee8e5be, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates.

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

  • Property mode set to 100644
File size: 6.5 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 -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
126 include/freetype/config/ftoption.h &amp;&amp;
127./configure --prefix=/usr --disable-static &amp;&amp;
128make</userinput></screen>
129
130 <para>
131 This package does not come with a test suite.
132 </para>
133
134 <para>
135 Now, as the <systemitem class="username">root</systemitem> user:
136 </para>
137
138<screen role="root"><userinput>make install &amp;&amp;
139install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
140cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
141
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <para>
148 <command>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:'
149 include/freetype/config/ftoption.h</command>:
150 This command enables LCD optimized rendering. This option results in improved
151 rendering of fonts, but may have patent restrictions. Be sure to read the
152 <literal>'Other patent issues'</literal> part of
153 <ulink url="http://www.freetype.org/patents.html"/> before enabling this
154 option.
155 </para>
156
157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158 href="../../xincludes/static-libraries.xml"/>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Program</segtitle>
167 <segtitle>Installed Library</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>
172 freetype-config
173 </seg>
174 <seg>
175 libfreetype.so
176 </seg>
177 <seg>
178 /usr/include/freetype2 and
179 /usr/share/doc/freetype-&freetype2-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="freetype-config">
190 <term><command>freetype-config</command></term>
191 <listitem>
192 <para>
193 is used to get <application>FreeType</application> compilation
194 and linking information.
195 </para>
196 <indexterm zone="freetype2 freetype-config">
197 <primary sortas="b-freetype-config">freetype-config</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="libfreetype">
203 <term><filename class="libraryfile">libfreetype.so</filename></term>
204 <listitem>
205 <para>
206 contains functions for rendering various font types, such
207 as TrueType and Type1.
208 </para>
209 <indexterm zone="freetype2 libfreetype">
210 <primary sortas="c-libfreetype">libfreetype.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 </variablelist>
216
217 </sect2>
218
219</sect1>
Note: See TracBrowser for help on using the repository browser.