2004-06-14 03:03:42 +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-14 03:03:42 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-01-05 23:04:41 +08:00
|
|
|
<!ENTITY pango-download-http "http://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
|
|
|
<!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
2005-03-07 06:09:29 +08:00
|
|
|
<!ENTITY pango-md5sum "88aa6bf1876766db6864f3b93577887c">
|
|
|
|
<!ENTITY pango-size "996 KB">
|
2005-01-05 23:04:41 +08:00
|
|
|
<!ENTITY pango-buildsize "22 MB">
|
2005-03-07 06:09:29 +08:00
|
|
|
<!ENTITY pango-time "0.56 SBU (includes rebuilding the documentation)">
|
2004-06-14 03:03:42 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-05 23:04:41 +08:00
|
|
|
<sect1 id="pango" xreflabel="Pango-&pango-version;">
|
2005-05-21 01:38:00 +08:00
|
|
|
<?dbhtml filename="pango.html" ?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Pango-&pango-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="pango">
|
|
|
|
<primary sortas="a-Pango">Pango</primary>
|
2005-04-07 07:04:16 +08:00
|
|
|
</indexterm>
|
2005-05-21 01:38:00 +08:00
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Introduction to Pango</title>
|
|
|
|
|
|
|
|
<para>The <application>Pango</application> package contains the
|
|
|
|
<filename class="libraryfile">libpango</filename> libraries. These are
|
|
|
|
useful for the layout and rendering of text.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &pango-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &pango-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &pango-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &pango-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para><xref linkend="glib2"/></para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para><ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
|
|
|
(included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
|
|
|
<xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Pango</title>
|
|
|
|
|
|
|
|
<para>In order for <application>Pango</application> to find
|
|
|
|
<application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
|
|
|
include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
|
|
|
This is a good time to add it if you haven't already. You can utilize
|
|
|
|
the example for <filename>X.sh</filename> to create a script for
|
|
|
|
modifying this variable located in the section
|
|
|
|
<xref linkend="postlfs-config-profile"/>.</para>
|
|
|
|
|
|
|
|
<para>Install <application>Pango</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
|
|
|
configuration files into <filename class="directory">/etc</filename>
|
|
|
|
instead of <filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
|
|
|
|
<para><option>--enable-gtk-doc</option>: This switch will rebuild
|
|
|
|
the API documentation during the <command>make</command> command.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring Pango</title>
|
|
|
|
|
|
|
|
<sect3 id="pango-config">
|
|
|
|
<title>Config Files</title>
|
|
|
|
|
|
|
|
<para><filename>/etc/pango/pangorc</filename>,
|
|
|
|
<filename>~/.pangorc</filename>, and the file specified in the
|
|
|
|
environment variable <envar>PANGO_RC_FILE</envar></para>
|
|
|
|
|
|
|
|
<indexterm zone="pango pango-config">
|
|
|
|
<primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<indexterm zone="pango pango-config">
|
|
|
|
<primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>The <application>Pango</application> module path is specified by
|
|
|
|
the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
|
|
|
in the <application>Pango</application> config database, which is read
|
|
|
|
from the config files listed above.</para>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>pango-querymodules</seg>
|
|
|
|
<seg>libpango*.so and <application>Pango</application> loadable
|
|
|
|
modules.</seg>
|
|
|
|
<seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
|
|
|
/usr/share/gtk-doc/html/pango</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="pango-querymodules">
|
|
|
|
<term><command>pango-querymodules</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a module registration utility that collects
|
|
|
|
information about <application>Pango</application> loadable
|
|
|
|
modules.</para>
|
|
|
|
<indexterm zone="pango pango-querymodules">
|
|
|
|
<primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="Pango-libraries">
|
|
|
|
<term>Pango libraries</term>
|
|
|
|
<listitem>
|
|
|
|
<para>contain low level layout rendering routines, a high
|
|
|
|
level driver for laying out entire blocks of text, and routines
|
|
|
|
to assist in editing internationalized text.</para>
|
|
|
|
<indexterm zone="pango Pango-libraries">
|
|
|
|
<primary sortas="c-Pango-libraries">Pango libraries</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|