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