glfs/x/lib/pango.xml

123 lines
4.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY Pango-download-http "http://gd.tuwien.ac.at/graphics/gimp/gtk/v2.4/pango-&Pango-version;.tar.gz">
<!ENTITY Pango-download-ftp "ftp://ftp.gtk.org/pub/gtk/v2.4/pango-&Pango-version;.tar.gz">
<!ENTITY Pango-size "1.4 MB">
<!ENTITY Pango-buildsize "22.8 MB">
<!ENTITY Pango-time "0.49 SBU">
]>
<sect1 id="Pango" xreflabel="Pango-&Pango-version;">
<?dbhtml filename="pango.html" ?>
<title>Pango-&Pango-version;</title>
<sect2>
<title>Introduction to <application>Pango</application></title>
<para>The <application>Pango</application> package contains the
<filename class="libraryfile">libpango</filename> library. This is useful for
the layout and rendering of text.</para>
<sect3><title>Package information</title>
<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 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>
</sect3>
<sect3><title><application>Pango</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="GLib2"/></para></sect4>
<sect4><title>Optional</title>
<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></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Pango</application></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><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<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 <acronym>API</acronym> documentation during the
<command>make</command> command.</para>
</sect2>
<sect2>
<title>Configuring <application>Pango</application></title>
<sect3><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>
</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>
<title>Contents</title>
<para>The <application>Pango</application> package contains
<command>pango-querymodules</command>,
<filename class="libraryfile">libpango</filename> libraries and
<application>Pango</application> loadable modules.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>pango-querymodules</title>
<para><command>pango-querymodules</command> is a module registration utility
that collects information about <application>Pango</application> loadable
modules</para></sect3>
<sect3><title>Pango libraries</title>
<para><application>Pango</application> libraries 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></sect3>
</sect2>
</sect1>