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