[feeb99a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[feeb99a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[96d9ee1b] | 7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.29/pango-&pango-version;.tar.xz">
|
---|
| 8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.29/pango-&pango-version;.tar.xz">
|
---|
| 9 | <!ENTITY pango-md5sum "9d5aba73897d2e8e8115b3f4fddbc0af">
|
---|
| 10 | <!ENTITY pango-size "1.1 MB">
|
---|
| 11 | <!ENTITY pango-buildsize "36 MB">
|
---|
| 12 | <!ENTITY pango-time "0.4 SBU">
|
---|
[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
|
---|
[96d9ee1b] | 34 | useful for the layout and rendering of multilingual text.</para>
|
---|
[10e9ab7] | 35 |
|
---|
[96d9ee1b] | 36 | &lfs70_checked;
|
---|
[cf5c88ca] | 37 |
|
---|
[10e9ab7] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &pango-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &pango-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[96d9ee1b] | 63 | <para role="required"><xref linkend="glib2"/> and one of:
|
---|
| 64 | <xref linkend="cairo"/>, <xref linkend="x-window-system"/> or
|
---|
[d621a23] | 65 | <xref linkend="fontconfig"/></para>
|
---|
[10e9ab7] | 66 |
|
---|
[96d9ee1b] | 67 | <note>
|
---|
| 68 | <para><application>cairo</application> is not required to build
|
---|
| 69 | <application>Pango</application>, but it is highly recommended that you
|
---|
| 70 | install <application>cairo</application> and the X Window System before
|
---|
| 71 | building <application>Pango</application>. If you don't build
|
---|
| 72 | <application>Pango</application> with a <application>cairo</application>
|
---|
| 73 | and <application>libXft</application> backend, then
|
---|
| 74 | <application>GTK+</application>-2 will not build.</para>
|
---|
| 75 | </note>
|
---|
[bccbdaea] | 76 |
|
---|
[c3e9ce2] | 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[520ff09c] | 78 | <para role="optional"><xref linkend="gobject-introspection"/>,
|
---|
| 79 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
[c3e9ce2] | 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
| 82 | Documentation)</bridgehead>
|
---|
[76a39aa] | 83 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
[10e9ab7] | 84 |
|
---|
[c5c2654] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
| 87 |
|
---|
[10e9ab7] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of Pango</title>
|
---|
| 92 |
|
---|
| 93 | <para>Install <application>Pango</application> by running the following
|
---|
| 94 | commands:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
[8e4e046] | 99 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
| 100 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
[a2fc158] | 101 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
[8e4e046] | 102 | could fail if you have <application>LibThai</application> installed.
|
---|
[cf5c88ca] | 103 | </para>
|
---|
[394cd759] | 104 |
|
---|
[96d9ee1b] | 105 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 106 | user:</para>
|
---|
[10e9ab7] | 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 116 | configuration files into <filename class="directory">/etc</filename>
|
---|
| 117 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 118 |
|
---|
[e05cd03f] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 120 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[10e9ab7] | 121 |
|
---|
[1b9e36e] | 122 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
| 123 | static libraries from being built.</para>
|
---|
| 124 |
|
---|
[10e9ab7] | 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="configuration">
|
---|
| 128 | <title>Configuring Pango</title>
|
---|
| 129 |
|
---|
| 130 | <sect3 id="pango-config">
|
---|
| 131 | <title>Config Files</title>
|
---|
| 132 |
|
---|
| 133 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 134 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 135 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="pango pango-config">
|
---|
| 138 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | <indexterm zone="pango pango-config">
|
---|
| 142 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 |
|
---|
| 145 | </sect3>
|
---|
| 146 |
|
---|
| 147 | <sect3>
|
---|
| 148 | <title>Configuration Information</title>
|
---|
| 149 |
|
---|
| 150 | <para>The <application>Pango</application> module path is specified by
|
---|
| 151 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 152 | in the <application>Pango</application> config database, which is read
|
---|
| 153 | from the config files listed above.</para>
|
---|
| 154 |
|
---|
| 155 | </sect3>
|
---|
| 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="content">
|
---|
| 160 | <title>Contents</title>
|
---|
| 161 |
|
---|
| 162 | <segmentedlist>
|
---|
[b3949ca3] | 163 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 164 | <segtitle>Installed Libraries</segtitle>
|
---|
| 165 | <segtitle>Installed Directories</segtitle>
|
---|
| 166 |
|
---|
| 167 | <seglistitem>
|
---|
[b3949ca3] | 168 | <seg>pango-querymodules and pango-view</seg>
|
---|
[0930d2c4] | 169 | <seg>libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
| 170 | libpangox-1.0.so, libpangoxft-1.0.so, pango-arabic-fc.so,
|
---|
| 171 | pango-arabic-lang.so, pango-basic-fc.so, pango-basic-x.so,
|
---|
| 172 | pango-hangul-fc.so, pango-hebrew-fc.so, pango-indic-fc.so,
|
---|
| 173 | pango-indic-lang.so, pango-khmer-fc.so, pango-syriac-fc.so,
|
---|
| 174 | pango-thai-fc.so, and pango-tibetan-fc.so</seg>
|
---|
[96d9ee1b] | 175 | <seg>/etc/pango, /usr/include/pango-1.0 /usr/lib/pango and
|
---|
| 176 | /usr/share/gtk-doc/html/pango</seg>
|
---|
[10e9ab7] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="pango-querymodules">
|
---|
| 186 | <term><command>pango-querymodules</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>is a module registration utility that collects
|
---|
| 189 | information about <application>Pango</application> loadable
|
---|
| 190 | modules.</para>
|
---|
| 191 | <indexterm zone="pango pango-querymodules">
|
---|
| 192 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[cf5c88ca] | 197 | <varlistentry id="pango-view">
|
---|
| 198 | <term><command>pango-view</command></term>
|
---|
| 199 | <listitem>
|
---|
[a41f643] | 200 | <para>renders a given file through <application>Pango</application>
|
---|
[49f7d8b] | 201 | for viewing purposes.</para>
|
---|
[cf5c88ca] | 202 | <indexterm zone="pango pango-view">
|
---|
| 203 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
[10e9ab7] | 208 | <varlistentry id="Pango-libraries">
|
---|
[cf5c88ca] | 209 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
[10e9ab7] | 210 | <listitem>
|
---|
| 211 | <para>contain low level layout rendering routines, a high
|
---|
| 212 | level driver for laying out entire blocks of text, and routines
|
---|
| 213 | to assist in editing internationalized text.</para>
|
---|
| 214 | <indexterm zone="pango Pango-libraries">
|
---|
[cf5c88ca] | 215 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
[10e9ab7] | 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | </variablelist>
|
---|
| 221 |
|
---|
| 222 | </sect2>
|
---|
[f45b1953] | 223 |
|
---|
| 224 | </sect1>
|
---|