[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 |
|
---|
[fcf1326d] | 7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.30/pango-&pango-version;.tar.xz">
|
---|
| 8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.30/pango-&pango-version;.tar.xz">
|
---|
[b83d289] | 9 | <!ENTITY pango-md5sum "ec3c1f236ee9bd4a982a5f46fcaff7b9">
|
---|
| 10 | <!ENTITY pango-size "1.2 MB">
|
---|
| 11 | <!ENTITY pango-buildsize "40 MB">
|
---|
| 12 | <!ENTITY pango-time "0.5 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 |
|
---|
[b83d289] | 32 | <para>
|
---|
| 33 | <application>Pango</application> is a library for laying out and rendering
|
---|
| 34 | of text, with an emphasis on internationalization. It can be used anywhere
|
---|
| 35 | that text layout is needed, though most of the work on Pango so far has
|
---|
| 36 | been done in the context of the GTK+ widget toolkit.
|
---|
| 37 | </para>
|
---|
[10e9ab7] | 38 |
|
---|
[43a4e608] | 39 | &lfs72_checked;
|
---|
[cf5c88ca] | 40 |
|
---|
[10e9ab7] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[a2912ff] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&pango-download-http;"/>
|
---|
| 46 | </para>
|
---|
[10e9ab7] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[a2912ff] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&pango-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[10e9ab7] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[a2912ff] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &pango-md5sum;
|
---|
| 56 | </para>
|
---|
[10e9ab7] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[a2912ff] | 59 | <para>
|
---|
| 60 | Download size: &pango-size;
|
---|
| 61 | </para>
|
---|
[10e9ab7] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[a2912ff] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &pango-buildsize;
|
---|
| 66 | </para>
|
---|
[10e9ab7] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[a2912ff] | 69 | <para>
|
---|
| 70 | Estimated build time: &pango-time;
|
---|
| 71 | </para>
|
---|
[10e9ab7] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 76 |
|
---|
[a2912ff] | 77 | <!-- FreeType2 and Fontconfig pulled by Xorg Libraries -->
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 79 | <para role="required">
|
---|
[a2912ff] | 80 | <xref linkend="cairo"/> and
|
---|
[b83d289] | 81 | <xref linkend="xorg7-lib"/>
|
---|
[9bdf4118] | 82 | </para>
|
---|
| 83 |
|
---|
[4c2be438] | 84 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
| 86 | <xref linkend="gobject-introspection"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[fcf1326d] | 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gtk-doc"/> and
|
---|
| 92 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink>
|
---|
[fcf1326d] | 93 | </para>
|
---|
[10e9ab7] | 94 |
|
---|
[b83d289] | 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/pango"/>
|
---|
| 97 | </para>
|
---|
[10e9ab7] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Pango</title>
|
---|
| 102 |
|
---|
[b83d289] | 103 | <para>
|
---|
| 104 | Install <application>Pango</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
[10e9ab7] | 107 |
|
---|
| 108 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[b83d289] | 111 | <para>
|
---|
| 112 | To test the results, issue: <command>make check</command>. You can install
|
---|
| 113 | <xref linkend="gtk-doc"/> if you wish to test the documentation section of
|
---|
| 114 | the test suite. Also, the <quote>testboundries</quote> test could fail if
|
---|
| 115 | you have <application>LibThai</application> installed.
|
---|
[cf5c88ca] | 116 | </para>
|
---|
[394cd759] | 117 |
|
---|
[b83d289] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[10e9ab7] | 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2ffe965] | 123 |
|
---|
| 124 | <note>
|
---|
| 125 | <para>
|
---|
| 126 | If you installed the package on to your system using a
|
---|
| 127 | <quote>DESTDIR</quote> method then important file was not installed and
|
---|
| 128 | must be copied and/or generated. Generate it using the following
|
---|
| 129 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <screen role="root"><userinput>pango-querymodules > /etc/pango/pango.modules</userinput></screen>
|
---|
| 133 | </note>
|
---|
[10e9ab7] | 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
[e05cd03f] | 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ffe965] | 140 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 141 |
|
---|
[10e9ab7] | 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="configuration">
|
---|
| 145 | <title>Configuring Pango</title>
|
---|
| 146 |
|
---|
| 147 | <sect3 id="pango-config">
|
---|
| 148 | <title>Config Files</title>
|
---|
| 149 |
|
---|
[b83d289] | 150 | <para>
|
---|
| 151 | <filename>/etc/pango/pangorc</filename>, <filename>~/.pangorc</filename>
|
---|
| 152 | and the file specified in the environment variable
|
---|
| 153 | <envar>PANGO_RC_FILE</envar>
|
---|
| 154 | </para>
|
---|
[10e9ab7] | 155 |
|
---|
| 156 | <indexterm zone="pango pango-config">
|
---|
| 157 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 |
|
---|
| 160 | <indexterm zone="pango pango-config">
|
---|
| 161 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </sect3>
|
---|
| 164 |
|
---|
| 165 | <sect3>
|
---|
| 166 | <title>Configuration Information</title>
|
---|
| 167 |
|
---|
[b83d289] | 168 | <para>
|
---|
| 169 | The <application>Pango</application> module path is specified by the key
|
---|
| 170 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
| 171 | <application>Pango</application> config database, which is read from the
|
---|
| 172 | config files listed above.
|
---|
| 173 | </para>
|
---|
[10e9ab7] | 174 | </sect3>
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | <sect2 role="content">
|
---|
| 178 | <title>Contents</title>
|
---|
| 179 |
|
---|
| 180 | <segmentedlist>
|
---|
[b3949ca3] | 181 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 182 | <segtitle>Installed Libraries</segtitle>
|
---|
| 183 | <segtitle>Installed Directories</segtitle>
|
---|
| 184 |
|
---|
| 185 | <seglistitem>
|
---|
[fcf1326d] | 186 | <seg>
|
---|
[a2912ff] | 187 | pango-querymodules and pango-view
|
---|
| 188 | </seg>
|
---|
| 189 | <seg>
|
---|
| 190 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
| 191 | libpangox-1.0.so and libpangoxft-1.0.so
|
---|
[fcf1326d] | 192 | </seg>
|
---|
| 193 | <seg>
|
---|
[b83d289] | 194 | /etc/pango,
|
---|
| 195 | /usr/include/pango-1.0,
|
---|
| 196 | /usr/lib/pango and
|
---|
[fcf1326d] | 197 | /usr/share/gtk-doc/html/pango
|
---|
| 198 | </seg>
|
---|
[10e9ab7] | 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="pango-querymodules">
|
---|
| 208 | <term><command>pango-querymodules</command></term>
|
---|
| 209 | <listitem>
|
---|
[b83d289] | 210 | <para>
|
---|
| 211 | is a module registration utility that collects information about
|
---|
| 212 | <application>Pango</application> loadable modules.
|
---|
| 213 | </para>
|
---|
[10e9ab7] | 214 | <indexterm zone="pango pango-querymodules">
|
---|
| 215 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
[cf5c88ca] | 220 | <varlistentry id="pango-view">
|
---|
| 221 | <term><command>pango-view</command></term>
|
---|
| 222 | <listitem>
|
---|
[b83d289] | 223 | <para>
|
---|
| 224 | renders a given file through <application>Pango</application> for
|
---|
| 225 | viewing purposes.
|
---|
| 226 | </para>
|
---|
[cf5c88ca] | 227 | <indexterm zone="pango pango-view">
|
---|
| 228 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
[10e9ab7] | 233 | <varlistentry id="Pango-libraries">
|
---|
[cf5c88ca] | 234 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
[10e9ab7] | 235 | <listitem>
|
---|
[b83d289] | 236 | <para>
|
---|
| 237 | contain low level layout rendering routines, a high level driver for
|
---|
| 238 | laying out entire blocks of text, and routines to assist in editing
|
---|
| 239 | internationalized text.
|
---|
| 240 | </para>
|
---|
[10e9ab7] | 241 | <indexterm zone="pango Pango-libraries">
|
---|
[cf5c88ca] | 242 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
[10e9ab7] | 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
[a2912ff] | 246 |
|
---|
[10e9ab7] | 247 | </variablelist>
|
---|
[a2912ff] | 248 |
|
---|
[10e9ab7] | 249 | </sect2>
|
---|
[a2912ff] | 250 |
|
---|
[f45b1953] | 251 | </sect1>
|
---|