[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[7f8bd51] | 7 | <!ENTITY pango-download-http "http://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
| 8 | <!ENTITY pango-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/pango/1.8/pango-&pango-version;.tar.bz2">
|
---|
| 9 | <!ENTITY pango-md5sum "d11f9857df7216321163e14d66d0cab8">
|
---|
| 10 | <!ENTITY pango-size "957 KB">
|
---|
| 11 | <!ENTITY pango-buildsize "22 MB">
|
---|
| 12 | <!ENTITY pango-time "0.39 SBU">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[7f8bd51] | 15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[19aa75a] | 20 | <?dbhtml filename="pango.html" ?>
|
---|
[7f8bd51] | 21 | <title>Pango-&pango-version;</title>
|
---|
[f45b1953] | 22 |
|
---|
[feeb99a] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>Pango</application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The <application>Pango</application> package contains the
|
---|
| 27 | <filename class="libraryfile">libpango</filename> library. This is useful for
|
---|
| 28 | the layout and rendering of text.</para>
|
---|
| 29 |
|
---|
| 30 | <sect3><title>Package information</title>
|
---|
| 31 | <itemizedlist spacing='compact'>
|
---|
[7f8bd51] | 32 | <listitem><para>Download (HTTP): <ulink url="&pango-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink url="&pango-download-ftp;"/></para></listitem>
|
---|
| 34 | <listitem><para>Download MD5 sum: &pango-md5sum;</para></listitem>
|
---|
| 35 | <listitem><para>Download size: &pango-size;</para></listitem>
|
---|
| 36 | <listitem><para>Estimated disk space required: &pango-buildsize;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated build time: &pango-time;</para></listitem></itemizedlist>
|
---|
[feeb99a] | 38 | </sect3>
|
---|
| 39 |
|
---|
| 40 | <sect3><title><application>Pango</application> dependencies</title>
|
---|
| 41 | <sect4><title>Required</title>
|
---|
[7c461b3] | 42 | <para><xref linkend="glib2"/></para></sect4>
|
---|
[feeb99a] | 43 | <sect4><title>Optional</title>
|
---|
| 44 | <para>
|
---|
[7d4fb1d] | 45 | <ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
---|
| 46 | (included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 47 | <xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/>
|
---|
[feeb99a] | 48 | </para></sect4>
|
---|
| 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2>
|
---|
| 54 | <title>Installation of <application>Pango</application></title>
|
---|
| 55 |
|
---|
| 56 | <para>In order for <application>Pango</application> to find
|
---|
| 57 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
| 58 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
[7d4fb1d] | 59 | This is a good time to add it if you haven't already. You can utilize the
|
---|
| 60 | example for <filename>X.sh</filename> to create a script for modifying this
|
---|
| 61 | variable located in the section <xref linkend="postlfs-config-profile"/>.
|
---|
| 62 | </para>
|
---|
[feeb99a] | 63 |
|
---|
[7d4fb1d] | 64 | <para>Install <application>Pango</application> by running the following
|
---|
| 65 | commands:</para>
|
---|
[feeb99a] | 66 |
|
---|
| 67 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 68 | make &&
|
---|
| 69 | make install</command></userinput></screen>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2>
|
---|
| 74 | <title>Command explanations</title>
|
---|
| 75 |
|
---|
| 76 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 77 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 78 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 79 |
|
---|
| 80 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 81 | the <acronym>API</acronym> documentation during the
|
---|
| 82 | <command>make</command> command.</para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
[7d4fb1d] | 86 | <sect2>
|
---|
| 87 | <title>Configuring <application>Pango</application></title>
|
---|
| 88 |
|
---|
| 89 | <sect3><title>Config files</title>
|
---|
| 90 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 91 | <filename>~/.pangorc</filename> and the file specified in the
|
---|
| 92 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 93 | </sect3>
|
---|
| 94 |
|
---|
| 95 | <sect3><title>Configuration Information</title>
|
---|
| 96 | <para>The <application>Pango</application> module path is specified by the key
|
---|
| 97 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
| 98 | <application>Pango</application> config database, which is read from the
|
---|
| 99 | config files listed above.</para></sect3>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
[feeb99a] | 103 | <sect2>
|
---|
| 104 | <title>Contents</title>
|
---|
| 105 |
|
---|
[7d4fb1d] | 106 | <para>The <application>Pango</application> package contains
|
---|
| 107 | <command>pango-querymodules</command>,
|
---|
| 108 | <filename class="libraryfile">libpango</filename> libraries and
|
---|
| 109 | <application>Pango</application> loadable modules.</para>
|
---|
[feeb99a] | 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2><title>Description</title>
|
---|
| 114 |
|
---|
[7d4fb1d] | 115 | <sect3><title>pango-querymodules</title>
|
---|
| 116 | <para><command>pango-querymodules</command> is a module registration utility
|
---|
| 117 | that collects information about <application>Pango</application> loadable
|
---|
| 118 | modules</para></sect3>
|
---|
| 119 |
|
---|
[feeb99a] | 120 | <sect3><title>Pango libraries</title>
|
---|
[7d4fb1d] | 121 | <para><application>Pango</application> libraries contain low level layout
|
---|
| 122 | rendering routines, a high level driver for laying out entire blocks of text,
|
---|
| 123 | and routines to assist in editing internationalized text.</para></sect3>
|
---|
[feeb99a] | 124 |
|
---|
| 125 | </sect2>
|
---|
[f45b1953] | 126 |
|
---|
| 127 | </sect1>
|
---|