2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-05-04 02:21:39 +08:00
|
|
|
<!ENTITY freetype2-download-http "http://prdownloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
|
|
|
|
<!ENTITY freetype2-download-ftp " ">
|
2005-06-21 08:58:09 +08:00
|
|
|
<!ENTITY freetype2-md5sum "a4012e7d1f6400df44a16743b11b8423">
|
|
|
|
<!ENTITY freetype2-size "1.0 MB">
|
|
|
|
<!ENTITY freetype2-buildsize "19.1 MB">
|
|
|
|
<!ENTITY freetype2-time "0.3 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-27 10:37:14 +08:00
|
|
|
<sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
|
2005-05-04 02:21:39 +08:00
|
|
|
<?dbhtml filename="freetype2.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>FreeType-&freetype2-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="freetype2">
|
|
|
|
<primary sortas="a-FreeType">FreeType</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to FreeType2</title>
|
|
|
|
|
2005-05-31 05:35:14 +08:00
|
|
|
<para>The <application>FreeType2</application> package
|
2005-05-04 02:21:39 +08:00
|
|
|
contains a library to allow applications to properly render
|
|
|
|
<application>TrueType</application> fonts.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &freetype2-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &freetype2-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &freetype2-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &freetype2-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of FreeType2</title>
|
|
|
|
|
|
|
|
<para>Install <application>FreeType2</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2005-06-21 08:58:09 +08:00
|
|
|
<screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
|
|
|
|
include/freetype/config/ftoption.h &&
|
2004-06-13 06:56:28 +08:00
|
|
|
./configure --prefix=/usr &&
|
2005-05-04 02:21:39 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-06-21 08:58:09 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2005-07-28 01:05:12 +08:00
|
|
|
<para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
|
|
|
|
include/freetype/config/ftoption.h</command>: Uncomments configuration
|
|
|
|
options.</para>
|
2005-06-21 08:58:09 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-05-04 02:21:39 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2005-05-04 04:18:44 +08:00
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>freetype-config</seg>
|
|
|
|
<seg>libfreetype.[so,a]</seg>
|
|
|
|
<seg>/usr/include/freetype2</seg>
|
|
|
|
</seglistitem>
|
2005-05-04 02:21:39 +08:00
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="freetype-config">
|
|
|
|
<term><command>freetype-config</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:35:14 +08:00
|
|
|
<para>is used to get <application>FreeType</application> compilation
|
2005-05-04 02:21:39 +08:00
|
|
|
and linking information.</para>
|
|
|
|
<indexterm zone="freetype2 freetype-config">
|
|
|
|
<primary sortas="b-freetype-config">freetype-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libfreetype">
|
|
|
|
<term><filename class='libraryfile'>libfreetype.[so,a]</filename></term>
|
|
|
|
<listitem>
|
2005-05-31 00:35:31 +08:00
|
|
|
<para>contains functions to add <application>TrueType</application>
|
2005-05-04 02:21:39 +08:00
|
|
|
font capabilities to the X Window system.</para>
|
|
|
|
<indexterm zone="freetype2 libfreetype">
|
|
|
|
<primary sortas="c-libfreetype">libfreetype.[so,a]</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-09-15 05:47:22 +08:00
|
|
|
|
|
|
|
</sect1>
|