[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 |
|
---|
[fcf1326d] | 7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.30/pango-&pango-version;.tar.xz">
|
---|
| 8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.30/pango-&pango-version;.tar.xz">
|
---|
| 9 | <!ENTITY pango-md5sum "2a70627ffd9f43c52c04cc0b05fe359f">
|
---|
[96d9ee1b] | 10 | <!ENTITY pango-size "1.1 MB">
|
---|
| 11 | <!ENTITY pango-buildsize "36 MB">
|
---|
| 12 | <!ENTITY pango-time "0.4 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 |
|
---|
[fcf1326d] | 32 | <para><application>Pango</application> is a library for laying out
|
---|
| 33 | and rendering of text, with an emphasis on internationalization.
|
---|
| 34 | It can be used anywhere that text layout is needed, though most
|
---|
| 35 | of the work on Pango so far has been done in the context of the GTK+
|
---|
| 36 | widget toolkit.</para>
|
---|
[10e9ab7] | 37 |
|
---|
[4c77a949] | 38 | &lfs71_checked;
|
---|
[cf5c88ca] | 39 |
|
---|
[10e9ab7] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &pango-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &pango-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 63 |
|
---|
[fcf1326d] | 64 | <!-- I don't see any use of pango except for GTK+, so make
|
---|
| 65 | cairo, fontconfig, and xorg libraries dependency. -->
|
---|
| 66 |
|
---|
[10e9ab7] | 67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[fcf1326d] | 68 | <para role="required"><xref linkend="cairo"/>,
|
---|
| 69 | <xref linkend="fontconfig"/>, <xref linkend="pkgconfig"/>
|
---|
| 70 | and <xref linkend="xorg7-lib"/></para>
|
---|
[bccbdaea] | 71 |
|
---|
[fcf1326d] | 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 73 | <para role="recommended"><xref linkend="gobject-introspection"/>
|
---|
| 74 | (Required if building GNOME)</para>
|
---|
[c3e9ce2] | 75 |
|
---|
[fcf1326d] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="optional"><xref linkend="gtk-doc"/> and
|
---|
| 78 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink>
|
---|
| 79 | </para>
|
---|
[10e9ab7] | 80 |
|
---|
[c5c2654] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
| 83 |
|
---|
[10e9ab7] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of Pango</title>
|
---|
| 88 |
|
---|
| 89 | <para>Install <application>Pango</application> by running the following
|
---|
| 90 | commands:</para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[8e4e046] | 95 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
| 96 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
[a2fc158] | 97 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
[8e4e046] | 98 | could fail if you have <application>LibThai</application> installed.
|
---|
[cf5c88ca] | 99 | </para>
|
---|
[394cd759] | 100 |
|
---|
[96d9ee1b] | 101 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 102 | user:</para>
|
---|
[10e9ab7] | 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[e05cd03f] | 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 112 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[10e9ab7] | 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="configuration">
|
---|
| 117 | <title>Configuring Pango</title>
|
---|
| 118 |
|
---|
| 119 | <sect3 id="pango-config">
|
---|
| 120 | <title>Config Files</title>
|
---|
| 121 |
|
---|
| 122 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 123 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 124 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 125 |
|
---|
| 126 | <indexterm zone="pango pango-config">
|
---|
| 127 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 |
|
---|
| 130 | <indexterm zone="pango pango-config">
|
---|
| 131 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 |
|
---|
| 134 | </sect3>
|
---|
| 135 |
|
---|
| 136 | <sect3>
|
---|
| 137 | <title>Configuration Information</title>
|
---|
| 138 |
|
---|
| 139 | <para>The <application>Pango</application> module path is specified by
|
---|
| 140 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 141 | in the <application>Pango</application> config database, which is read
|
---|
| 142 | from the config files listed above.</para>
|
---|
| 143 |
|
---|
| 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
| 150 |
|
---|
| 151 | <segmentedlist>
|
---|
[b3949ca3] | 152 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
| 155 |
|
---|
| 156 | <seglistitem>
|
---|
[fcf1326d] | 157 | <seg>
|
---|
| 158 | pango-querymodules and pango-view
|
---|
| 159 | </seg>
|
---|
| 160 |
|
---|
| 161 | <seg>
|
---|
| 162 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
| 163 | libpangox-1.0.so, libpangoxft-1.0.so
|
---|
| 164 | </seg>
|
---|
| 165 |
|
---|
| 166 | <seg>
|
---|
| 167 | /etc/pango, /usr/include/pango-1.0, /usr/lib/pango and
|
---|
| 168 | /usr/share/gtk-doc/html/pango
|
---|
| 169 | </seg>
|
---|
[10e9ab7] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="pango-querymodules">
|
---|
| 179 | <term><command>pango-querymodules</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>is a module registration utility that collects
|
---|
| 182 | information about <application>Pango</application> loadable
|
---|
| 183 | modules.</para>
|
---|
| 184 | <indexterm zone="pango pango-querymodules">
|
---|
| 185 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
[cf5c88ca] | 190 | <varlistentry id="pango-view">
|
---|
| 191 | <term><command>pango-view</command></term>
|
---|
| 192 | <listitem>
|
---|
[a41f643] | 193 | <para>renders a given file through <application>Pango</application>
|
---|
[49f7d8b] | 194 | for viewing purposes.</para>
|
---|
[cf5c88ca] | 195 | <indexterm zone="pango pango-view">
|
---|
| 196 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
[10e9ab7] | 201 | <varlistentry id="Pango-libraries">
|
---|
[cf5c88ca] | 202 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
[10e9ab7] | 203 | <listitem>
|
---|
| 204 | <para>contain low level layout rendering routines, a high
|
---|
| 205 | level driver for laying out entire blocks of text, and routines
|
---|
| 206 | to assist in editing internationalized text.</para>
|
---|
| 207 | <indexterm zone="pango Pango-libraries">
|
---|
[cf5c88ca] | 208 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
[10e9ab7] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | </variablelist>
|
---|
| 214 |
|
---|
| 215 | </sect2>
|
---|
[f45b1953] | 216 |
|
---|
| 217 | </sect1>
|
---|