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