1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY freetype2-download-http "http://prdownloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
|
---|
8 | <!ENTITY freetype2-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/freetype-&freetype2-version;.tar.bz2">
|
---|
9 | <!ENTITY freetype2-md5sum "a4012e7d1f6400df44a16743b11b8423">
|
---|
10 | <!ENTITY freetype2-size "1.0 MB">
|
---|
11 | <!ENTITY freetype2-buildsize "25.0 MB (includes installing additional documentation)">
|
---|
12 | <!ENTITY freetype2-time "0.4 SBU">
|
---|
13 | <!ENTITY freetype2-doc-download "http://prdownloads.sourceforge.net/freetype/freetype-doc-&freetype2-version;.tar.bz2">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
|
---|
17 | <?dbhtml filename="freetype2.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | <keywordset>
|
---|
23 | <keyword role="package">freetype-&freetype2-version;.tar</keyword>
|
---|
24 | <keyword role="ftpdir">freetype</keyword>
|
---|
25 | </keywordset>
|
---|
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 | <listitem>
|
---|
66 | <para>Additional documentation: <ulink
|
---|
67 | url="&freetype2-doc-download;"/></para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="installation">
|
---|
74 | <title>Installation of FreeType2</title>
|
---|
75 |
|
---|
76 | <para>If you downloaded the additional documentation, unpack it into the
|
---|
77 | source tree using the following command:</para>
|
---|
78 |
|
---|
79 | <screen><userinput>tar xf ../freetype-doc-&freetype2-version;.tar.bz2 \
|
---|
80 | --strip-components=2 -C docs</userinput></screen>
|
---|
81 |
|
---|
82 | <para>Install <application>FreeType2</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
|
---|
86 | include/freetype/config/ftoption.h &&
|
---|
87 | ./configure --prefix=/usr &&
|
---|
88 | make</userinput></screen>
|
---|
89 |
|
---|
90 | <para>This package does not come with a test suite.</para>
|
---|
91 |
|
---|
92 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
93 |
|
---|
94 | <screen role="root"><userinput>make install &&
|
---|
95 | install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
---|
96 | cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="commands">
|
---|
101 | <title>Command Explanations</title>
|
---|
102 |
|
---|
103 | <para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
|
---|
104 | include/freetype/config/ftoption.h</command>: This command enables the
|
---|
105 | built-in TrueType bytecode interpreter which in turn enables hinting of
|
---|
106 | TrueType glyphs. Enabling the interpreter results in much better rendering
|
---|
107 | of TrueType fonts.</para>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="content">
|
---|
112 | <title>Contents</title>
|
---|
113 |
|
---|
114 | <segmentedlist>
|
---|
115 | <segtitle>Installed Program</segtitle>
|
---|
116 | <segtitle>Installed Library</segtitle>
|
---|
117 | <segtitle>Installed Directory</segtitle>
|
---|
118 |
|
---|
119 | <seglistitem>
|
---|
120 | <seg>freetype-config</seg>
|
---|
121 | <seg>libfreetype.[so,a]</seg>
|
---|
122 | <seg>/usr/include/freetype2</seg>
|
---|
123 | </seglistitem>
|
---|
124 | </segmentedlist>
|
---|
125 |
|
---|
126 | <variablelist>
|
---|
127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
128 | <?dbfo list-presentation="list"?>
|
---|
129 | <?dbhtml list-presentation="table"?>
|
---|
130 |
|
---|
131 | <varlistentry id="freetype-config">
|
---|
132 | <term><command>freetype-config</command></term>
|
---|
133 | <listitem>
|
---|
134 | <para>is used to get <application>FreeType</application> compilation
|
---|
135 | and linking information.</para>
|
---|
136 | <indexterm zone="freetype2 freetype-config">
|
---|
137 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
138 | </indexterm>
|
---|
139 | </listitem>
|
---|
140 | </varlistentry>
|
---|
141 |
|
---|
142 | <varlistentry id="libfreetype">
|
---|
143 | <term><filename class='libraryfile'>libfreetype.[so,a]</filename></term>
|
---|
144 | <listitem>
|
---|
145 | <para>contains functions to add <application>TrueType</application>
|
---|
146 | font capabilities to the X Window system.</para>
|
---|
147 | <indexterm zone="freetype2 libfreetype">
|
---|
148 | <primary sortas="c-libfreetype">libfreetype.[so,a]</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | </variablelist>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | </sect1>
|
---|