[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[feeb99a] | 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">
|
---|
[f600f56a] | 9 | <!ENTITY pango-md5sum "88aa6bf1876766db6864f3b93577887c">
|
---|
| 10 | <!ENTITY pango-size "996 KB">
|
---|
[7f8bd51] | 11 | <!ENTITY pango-buildsize "22 MB">
|
---|
[f600f56a] | 12 | <!ENTITY pango-time "0.56 SBU (includes rebuilding the documentation)">
|
---|
[feeb99a] | 13 | ]>
|
---|
| 14 |
|
---|
[7f8bd51] | 15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
[10e9ab7] | 16 | <?dbhtml filename="pango.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Pango-&pango-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="pango">
|
---|
| 26 | <primary sortas="a-Pango">Pango</primary>
|
---|
[a54950b] | 27 | </indexterm>
|
---|
[10e9ab7] | 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[10e9ab7] | 30 | <title>Introduction to Pango</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Pango</application> package contains the
|
---|
| 33 | <filename class="libraryfile">libpango</filename> libraries. These are
|
---|
| 34 | useful for the layout and rendering of text.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &pango-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &pango-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 61 | <para><xref linkend="glib2"/></para>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 64 | <para><ulink url="http://freedesktop.org/~fontconfig/release/">Xft</ulink>
|
---|
| 65 | (included in <xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
| 66 | <xref linkend="fontconfig"/> and <xref linkend="gtk-doc"/></para>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | <sect2 role="installation">
|
---|
| 71 | <title>Installation of Pango</title>
|
---|
| 72 |
|
---|
| 73 | <para>In order for <application>Pango</application> to find
|
---|
| 74 | <application>Xft</application>, the <envar>PKG_CONFIG_PATH</envar> must
|
---|
| 75 | include <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>.
|
---|
| 76 | This is a good time to add it if you haven't already. You can utilize
|
---|
| 77 | the example for <filename>X.sh</filename> to create a script for
|
---|
| 78 | modifying this variable located in the section
|
---|
| 79 | <xref linkend="postlfs-config-profile"/>.</para>
|
---|
| 80 |
|
---|
| 81 | <para>Install <application>Pango</application> by running the following
|
---|
| 82 | commands:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 85 | make</userinput></screen>
|
---|
| 86 |
|
---|
[394cd759] | 87 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 88 |
|
---|
[10e9ab7] | 89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 90 |
|
---|
| 91 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="commands">
|
---|
| 96 | <title>Command Explanations</title>
|
---|
| 97 |
|
---|
| 98 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 99 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 100 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 101 |
|
---|
| 102 | <para><option>--enable-gtk-doc</option>: This switch will rebuild
|
---|
| 103 | the API documentation during the <command>make</command> command.</para>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="configuration">
|
---|
| 108 | <title>Configuring Pango</title>
|
---|
| 109 |
|
---|
| 110 | <sect3 id="pango-config">
|
---|
| 111 | <title>Config Files</title>
|
---|
| 112 |
|
---|
| 113 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 114 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 115 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 116 |
|
---|
| 117 | <indexterm zone="pango pango-config">
|
---|
| 118 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 |
|
---|
| 121 | <indexterm zone="pango pango-config">
|
---|
| 122 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
| 127 | <sect3>
|
---|
| 128 | <title>Configuration Information</title>
|
---|
| 129 |
|
---|
| 130 | <para>The <application>Pango</application> module path is specified by
|
---|
| 131 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 132 | in the <application>Pango</application> config database, which is read
|
---|
| 133 | from the config files listed above.</para>
|
---|
| 134 |
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Program</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>pango-querymodules</seg>
|
---|
| 149 | <seg>libpango*.so and <application>Pango</application> loadable
|
---|
| 150 | modules.</seg>
|
---|
| 151 | <seg>/etc/pango, /usr/include/pango-1.0, /usr/lib/pango, and
|
---|
| 152 | /usr/share/gtk-doc/html/pango</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="pango-querymodules">
|
---|
| 162 | <term><command>pango-querymodules</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>is a module registration utility that collects
|
---|
| 165 | information about <application>Pango</application> loadable
|
---|
| 166 | modules.</para>
|
---|
| 167 | <indexterm zone="pango pango-querymodules">
|
---|
| 168 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="Pango-libraries">
|
---|
| 174 | <term>Pango libraries</term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>contain low level layout rendering routines, a high
|
---|
| 177 | level driver for laying out entire blocks of text, and routines
|
---|
| 178 | to assist in editing internationalized text.</para>
|
---|
| 179 | <indexterm zone="pango Pango-libraries">
|
---|
| 180 | <primary sortas="c-Pango-libraries">Pango libraries</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
[f45b1953] | 188 |
|
---|
| 189 | </sect1>
|
---|