[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 |
|
---|
[19bcba7d] | 7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.38/pango-&pango-version;.tar.xz">
|
---|
| 8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.38/pango-&pango-version;.tar.xz">
|
---|
| 9 | <!ENTITY pango-md5sum "5a358e5afbb6b2e82cf2cb02ca9cce86">
|
---|
| 10 | <!ENTITY pango-size "1 MB">
|
---|
[1a4bfbb] | 11 | <!ENTITY pango-buildsize "24 MB (additional 2 MB to rebuild and install the API documentation)">
|
---|
[19bcba7d] | 12 | <!ENTITY pango-time "0.5 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 |
|
---|
[33c9d33] | 41 | &lfs78_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">
|
---|
[dc23d8f1] | 81 | <xref linkend="fontconfig"/> (must be built with
|
---|
[1cfd61d] | 82 | <xref linkend="freetype2"/> using <xref linkend="harfbuzz"/>) and
|
---|
| 83 | <xref linkend="glib2"/>
|
---|
[cba5998] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 87 | <para role="recommended">
|
---|
| 88 | <xref linkend="cairo"/> and
|
---|
[b83d289] | 89 | <xref linkend="xorg7-lib"/>
|
---|
[9bdf4118] | 90 | </para>
|
---|
| 91 |
|
---|
[4c2be438] | 92 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
| 94 | <xref linkend="gobject-introspection"/>
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
[fcf1326d] | 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 98 | <para role="optional">
|
---|
[d356833] | 99 | <xref linkend="gtk-doc"/>
|
---|
[fcf1326d] | 100 | </para>
|
---|
[10e9ab7] | 101 |
|
---|
[b83d289] | 102 | <para condition="html" role="usernotes">
|
---|
| 103 | User Notes: <ulink url="&blfs-wiki;/pango"/>
|
---|
| 104 | </para>
|
---|
[10e9ab7] | 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of Pango</title>
|
---|
| 109 |
|
---|
[b83d289] | 110 | <para>
|
---|
| 111 | Install <application>Pango</application> by running the following
|
---|
| 112 | commands:
|
---|
| 113 | </para>
|
---|
[10e9ab7] | 114 |
|
---|
[39c6300] | 115 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[10e9ab7] | 116 | make</userinput></screen>
|
---|
| 117 |
|
---|
[b83d289] | 118 | <para>
|
---|
[57caa5f] | 119 | To test the results, issue: <command>make -k check</command>. One test
|
---|
| 120 | fails for unknown reasons.
|
---|
[cf5c88ca] | 121 | </para>
|
---|
[394cd759] | 122 |
|
---|
[b83d289] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[10e9ab7] | 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2ffe965] | 128 |
|
---|
| 129 | <note>
|
---|
| 130 | <para>
|
---|
| 131 | If you installed the package on to your system using a
|
---|
[b4b2a76] | 132 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
[2ffe965] | 133 | must be copied and/or generated. Generate it using the following
|
---|
| 134 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
[d356833] | 137 | <screen role="root"><userinput>pango-querymodules --update-cache</userinput></screen>
|
---|
[2ffe965] | 138 | </note>
|
---|
[28b61748] | 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
[10e9ab7] | 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[e05cd03f] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ffe965] | 146 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 147 |
|
---|
[10e9ab7] | 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | <sect2 role="configuration">
|
---|
| 151 | <title>Configuring Pango</title>
|
---|
| 152 |
|
---|
| 153 | <sect3 id="pango-config">
|
---|
| 154 | <title>Config Files</title>
|
---|
| 155 |
|
---|
[b83d289] | 156 | <para>
|
---|
| 157 | <filename>/etc/pango/pangorc</filename>, <filename>~/.pangorc</filename>
|
---|
| 158 | and the file specified in the environment variable
|
---|
| 159 | <envar>PANGO_RC_FILE</envar>
|
---|
| 160 | </para>
|
---|
[10e9ab7] | 161 |
|
---|
| 162 | <indexterm zone="pango pango-config">
|
---|
| 163 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 |
|
---|
| 166 | <indexterm zone="pango pango-config">
|
---|
| 167 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </sect3>
|
---|
| 170 |
|
---|
| 171 | <sect3>
|
---|
| 172 | <title>Configuration Information</title>
|
---|
| 173 |
|
---|
[b83d289] | 174 | <para>
|
---|
| 175 | The <application>Pango</application> module path is specified by the key
|
---|
| 176 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
| 177 | <application>Pango</application> config database, which is read from the
|
---|
| 178 | config files listed above.
|
---|
| 179 | </para>
|
---|
[d356833] | 180 |
|
---|
[10e9ab7] | 181 | </sect3>
|
---|
[d356833] | 182 |
|
---|
[10e9ab7] | 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | <sect2 role="content">
|
---|
| 186 | <title>Contents</title>
|
---|
| 187 |
|
---|
| 188 | <segmentedlist>
|
---|
[b3949ca3] | 189 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 190 | <segtitle>Installed Libraries</segtitle>
|
---|
| 191 | <segtitle>Installed Directories</segtitle>
|
---|
| 192 |
|
---|
| 193 | <seglistitem>
|
---|
[fcf1326d] | 194 | <seg>
|
---|
[a2912ff] | 195 | pango-querymodules and pango-view
|
---|
| 196 | </seg>
|
---|
| 197 | <seg>
|
---|
[28b61748] | 198 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
[feb1a649] | 199 | and libpangoxft-1.0.so
|
---|
[fcf1326d] | 200 | </seg>
|
---|
| 201 | <seg>
|
---|
[b83d289] | 202 | /etc/pango,
|
---|
| 203 | /usr/include/pango-1.0,
|
---|
[5edcd4b] | 204 | /usr/lib/pango, and
|
---|
[fcf1326d] | 205 | /usr/share/gtk-doc/html/pango
|
---|
| 206 | </seg>
|
---|
[10e9ab7] | 207 | </seglistitem>
|
---|
| 208 | </segmentedlist>
|
---|
| 209 |
|
---|
| 210 | <variablelist>
|
---|
| 211 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 212 | <?dbfo list-presentation="list"?>
|
---|
| 213 | <?dbhtml list-presentation="table"?>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="pango-querymodules">
|
---|
| 216 | <term><command>pango-querymodules</command></term>
|
---|
| 217 | <listitem>
|
---|
[b83d289] | 218 | <para>
|
---|
| 219 | is a module registration utility that collects information about
|
---|
| 220 | <application>Pango</application> loadable modules.
|
---|
| 221 | </para>
|
---|
[10e9ab7] | 222 | <indexterm zone="pango pango-querymodules">
|
---|
| 223 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
[cf5c88ca] | 228 | <varlistentry id="pango-view">
|
---|
| 229 | <term><command>pango-view</command></term>
|
---|
| 230 | <listitem>
|
---|
[b83d289] | 231 | <para>
|
---|
| 232 | renders a given file through <application>Pango</application> for
|
---|
| 233 | viewing purposes.
|
---|
| 234 | </para>
|
---|
[cf5c88ca] | 235 | <indexterm zone="pango pango-view">
|
---|
| 236 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
[d356833] | 241 | <varlistentry id="libpango-1">
|
---|
| 242 | <term><filename class="libraryfile">libpango-1.0.so</filename></term>
|
---|
[10e9ab7] | 243 | <listitem>
|
---|
[b83d289] | 244 | <para>
|
---|
| 245 | contain low level layout rendering routines, a high level driver for
|
---|
| 246 | laying out entire blocks of text, and routines to assist in editing
|
---|
| 247 | internationalized text.
|
---|
| 248 | </para>
|
---|
[d356833] | 249 | <indexterm zone="pango libpango-1">
|
---|
| 250 | <primary sortas="c-libpango-1">libpango-1.0.so</primary>
|
---|
[10e9ab7] | 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[a2912ff] | 254 |
|
---|
[10e9ab7] | 255 | </variablelist>
|
---|
[a2912ff] | 256 |
|
---|
[10e9ab7] | 257 | </sect2>
|
---|
[a2912ff] | 258 |
|
---|
[f45b1953] | 259 | </sect1>
|
---|