2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2008-10-13 22:49:44 +08:00
|
|
|
<!ENTITY freetype2-download-http "&sourceforge-repo;/freetype/freetype-&freetype2-version;.tar.bz2">
|
2007-07-15 07:27:07 +08:00
|
|
|
<!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
|
2014-12-31 22:13:18 +08:00
|
|
|
<!ENTITY freetype2-md5sum "2a7a314927011d5030903179cf183be0">
|
2013-11-26 01:35:21 +08:00
|
|
|
<!ENTITY freetype2-size "1.7 MB">
|
2014-12-07 22:39:29 +08:00
|
|
|
<!ENTITY freetype2-buildsize "27 MB (includes installing additional documentation)">
|
2014-12-31 22:13:18 +08:00
|
|
|
<!ENTITY freetype2-time "0.2 SBU">
|
2013-06-28 09:09:49 +08:00
|
|
|
|
2014-12-31 22:13:18 +08:00
|
|
|
<!ENTITY freetype2-doc-version "2.5.5">
|
2013-06-28 09:09:49 +08:00
|
|
|
<!ENTITY freetype2-doc-download-http "&sourceforge-repo;/freetype/freetype-doc-&freetype2-doc-version;.tar.bz2">
|
|
|
|
<!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-doc-version;.tar.bz2">
|
2014-12-31 22:13:18 +08:00
|
|
|
<!ENTITY freetype2-doc-md5sum "6ffe7865943b3dfd6d04546ab7776a8f">
|
2013-11-26 01:35:21 +08:00
|
|
|
<!ENTITY freetype2-doc-size "108 KB">
|
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>
|
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
The <application>FreeType2</application> package contains
|
|
|
|
a library which allows applications to properly render
|
|
|
|
<application>TrueType</application> fonts.
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
|
2015-04-28 09:23:03 +08:00
|
|
|
&lfs77_checked; &gcc5_checked;
|
2009-10-21 23:07:08 +08:00
|
|
|
|
2005-05-04 02:21:39 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&freetype2-download-http;"/>
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</listitem>
|
2013-08-23 19:37:46 +08:00
|
|
|
<!-- <listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&freetype2-download-ftp;"/>
|
|
|
|
</para>
|
2013-08-23 19:37:46 +08:00
|
|
|
</listitem> -->
|
2005-05-04 02:21:39 +08:00
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &freetype2-md5sum;
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download size: &freetype2-size;
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &freetype2-buildsize;
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &freetype2-time;
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-11-27 10:03:33 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
2007-04-27 23:01:17 +08:00
|
|
|
<title>Additional Documentation</title>
|
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&freetype2-doc-download-http;"/>
|
|
|
|
</para>
|
2007-04-27 23:01:17 +08:00
|
|
|
</listitem>
|
2013-08-23 19:37:46 +08:00
|
|
|
<!-- <listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&freetype2-doc-download-ftp;"/>
|
|
|
|
</para>
|
2013-08-23 19:37:46 +08:00
|
|
|
</listitem> -->
|
2007-04-27 23:01:17 +08:00
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &freetype2-doc-md5sum;
|
|
|
|
</para>
|
2007-04-27 23:01:17 +08:00
|
|
|
</listitem>
|
2005-11-30 03:07:13 +08:00
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Download size: &freetype2-doc-size;
|
|
|
|
</para>
|
2005-11-27 10:03:33 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-06-29 10:09:52 +08:00
|
|
|
<bridgehead renderas="sect3">FreeType2 Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2014-03-09 07:28:14 +08:00
|
|
|
<xref linkend="which"/>,
|
|
|
|
<xref linkend="harfbuzz"/>,
|
|
|
|
(first, install without it, after it is installed, reinstall
|
|
|
|
<xref linkend="freetype2"/>), and
|
2013-06-29 10:09:52 +08:00
|
|
|
<xref linkend="libpng"/>
|
|
|
|
</para>
|
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-07-23 21:35:55 +08:00
|
|
|
<ulink url="&blfs-wiki;/freetype2"/>
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of FreeType2</title>
|
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
If you downloaded the additional documentation, unpack it into the
|
|
|
|
source tree using the following command:
|
|
|
|
</para>
|
2005-11-27 10:03:33 +08:00
|
|
|
|
2013-06-29 10:09:52 +08:00
|
|
|
<screen><userinput>tar -xf ../freetype-doc-&freetype2-doc-version;.tar.bz2 --strip-components=2 -C docs</userinput></screen>
|
2005-11-27 10:03:33 +08:00
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Install <application>FreeType2</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
|
2013-06-29 10:09:52 +08:00
|
|
|
<screen><userinput>sed -i -e "/AUX.*.gxvalid/s@^# @@" \
|
|
|
|
-e "/AUX.*.otvalid/s@^# @@" \
|
2013-11-26 01:35:21 +08:00
|
|
|
modules.cfg &&
|
2013-06-28 09:09:49 +08:00
|
|
|
|
2013-06-29 10:09:52 +08:00
|
|
|
sed -ri -e 's:.*(#.*SUBPIXEL.*) .*:\1:' \
|
2013-11-26 01:35:21 +08:00
|
|
|
include/config/ftoption.h &&
|
2013-06-28 09:09:49 +08:00
|
|
|
|
2013-11-26 01:35:21 +08:00
|
|
|
./configure --prefix=/usr --disable-static &&
|
2005-05-04 02:21:39 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
|
2005-11-27 10:03:33 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &&
|
2009-02-13 02:32:16 +08:00
|
|
|
cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
|
2005-05-04 02:21:39 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-06-21 08:58:09 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
2013-06-28 09:09:49 +08:00
|
|
|
<command>sed -e ...</command>:
|
|
|
|
First command enables GX/AAT and OpenType table validation and second
|
2013-05-19 22:26:51 +08:00
|
|
|
command enables Subpixel Rendering and Subpixel Hinting in order to
|
2013-06-28 09:09:49 +08:00
|
|
|
improve font rendering. Note that Subpixel Rendering may have patent issues.
|
2013-05-19 22:26:51 +08:00
|
|
|
Be sure to read the <literal>'Other patent issues'</literal> part of
|
2012-07-23 21:35:55 +08:00
|
|
|
<ulink url="http://www.freetype.org/patents.html"/> before enabling this
|
|
|
|
option.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
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>
|
2009-02-13 02:32:16 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-04 04:18:44 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<seg>
|
|
|
|
freetype-config
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libfreetype.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/freetype2 and
|
|
|
|
/usr/share/doc/freetype-&freetype2-version;
|
|
|
|
</seg>
|
2005-05-04 04:18:44 +08:00
|
|
|
</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>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
is used to get <application>FreeType</application> compilation
|
|
|
|
and linking information.
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
<indexterm zone="freetype2 freetype-config">
|
|
|
|
<primary sortas="b-freetype-config">freetype-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libfreetype">
|
2012-12-30 23:07:50 +08:00
|
|
|
<term><filename class="libraryfile">libfreetype.so</filename></term>
|
2005-05-04 02:21:39 +08:00
|
|
|
<listitem>
|
2012-07-23 21:35:55 +08:00
|
|
|
<para>
|
|
|
|
contains functions for rendering various font types, such
|
|
|
|
as TrueType and Type1.
|
|
|
|
</para>
|
2005-05-04 02:21:39 +08:00
|
|
|
<indexterm zone="freetype2 libfreetype">
|
2012-07-23 21:35:55 +08:00
|
|
|
<primary sortas="c-libfreetype">libfreetype.so</primary>
|
2005-05-04 02:21:39 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-09-15 05:47:22 +08:00
|
|
|
|
|
|
|
</sect1>
|