source: general/graphlib/freetype2.xml@ 3110f081

6.3 6.3-rc3
Last change on this file since 3110f081 was 3110f081, checked in by Ken Moffat <ken@…>, 14 years ago

Merge r7502 to 6.3 branch.

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

  • Property mode set to 100644
File size: 6.0 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 "http://downloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
8 <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
9 <!ENTITY freetype2-md5sum "83306194817ebdea554133b4232a34aa">
10 <!ENTITY freetype2-size "1.3 MB">
11 <!ENTITY freetype2-buildsize "28.2 (includes installing additional documentation)">
12 <!ENTITY freetype2-time "0.4 SBU">
13
14 <!ENTITY freetype2-doc-download-http "http://downloads.sourceforge.net/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 "2ba135e6a126ed86e9b462167511ced8">
17 <!ENTITY freetype2-doc-size "97 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>The <application>FreeType2</application> package
38 contains a library to allow applications to properly render
39 <application>TrueType</application> fonts.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &freetype2-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &freetype2-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &freetype2-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &freetype2-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing="compact">
65 <title>Additional Documentation</title>
66 <listitem>
67 <para>Download (HTTP): <ulink url="&freetype2-doc-download-http;"/></para>
68 </listitem>
69 <listitem>
70 <para>Download (FTP): <ulink url="&freetype2-doc-download-ftp;"/></para>
71 </listitem>
72 <listitem>
73 <para>Download MD5 sum: &freetype2-doc-md5sum;</para>
74 </listitem>
75 <listitem>
76 <para>Download size: &freetype2-doc-size;</para>
77 </listitem>
78 </itemizedlist>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/freetype2"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of FreeType2</title>
87
88 <para>If you downloaded the additional documentation, unpack it into the
89 source tree using the following command:</para>
90
91<screen><userinput>tar xf ../freetype-doc-&freetype2-version;.tar.bz2 \
92 --strip-components=2 -C docs</userinput></screen>
93
94 <para>Install <application>FreeType2</application> by running the following
95 commands:</para>
96
97<screen><userinput>sed -i -r -e 's:.*(#.*BYTE.*) .*:\1:' \
98 -e 's:.*(#.*SUBPIX.*) .*:\1:' \
99 include/freetype/config/ftoption.h &amp;&amp;
100./configure --prefix=/usr &amp;&amp;
101make</userinput></screen>
102
103 <para>This package does not come with a test suite.</para>
104
105 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
106
107<screen role="root"><userinput>make install &amp;&amp;
108install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
109cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><command>sed -i ... 's:.*(#.*BYTE.*) .*:\1:' ...
117 's:.*(#.*SUBPIX.*) .*:\1:' include/freetype/config/ftoption.h</command>:
118 This command enables the TrueType native bytecode interpreter and LCD
119 optimized rendering features. These options result in improved rendering
120 of fonts, but may have patent restrictions. Be sure to read
121 <ulink url="http://www.freetype.org/patents.html"/> before enabling these
122 options.</para>
123
124 </sect2>
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Program</segtitle>
131 <segtitle>Installed Library</segtitle>
132 <segtitle>Installed Directory</segtitle>
133
134 <seglistitem>
135 <seg>freetype-config</seg>
136 <seg>libfreetype.{so,a}</seg>
137 <seg>/usr/include/freetype2</seg>
138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="freetype-config">
147 <term><command>freetype-config</command></term>
148 <listitem>
149 <para>is used to get <application>FreeType</application> compilation
150 and linking information.</para>
151 <indexterm zone="freetype2 freetype-config">
152 <primary sortas="b-freetype-config">freetype-config</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="libfreetype">
158 <term><filename class='libraryfile'>libfreetype.{so,a}</filename></term>
159 <listitem>
160 <para>contains functions for rendering various font types, such
161 as TrueType and Type1.</para>
162 <indexterm zone="freetype2 libfreetype">
163 <primary sortas="c-libfreetype">libfreetype.{so,a}</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.