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