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