[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>
|
---|
[b8a081c] | 68 | <para role="required">
|
---|
[41d905b4] | 69 | <xref linkend="cairo"/>
|
---|
[b8a081c] | 70 | </para>
|
---|
[bccbdaea] | 71 |
|
---|
[fcf1326d] | 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 73 | <para role="optional">
|
---|
[b7a80c66] | 74 | <xref linkend="gobject-introspection"/> (required if building Gnome),
|
---|
[b8a081c] | 75 | <xref linkend="gtk-doc"/> and
|
---|
| 76 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink>
|
---|
[fcf1326d] | 77 | </para>
|
---|
[10e9ab7] | 78 |
|
---|
[c5c2654] | 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
| 81 |
|
---|
[10e9ab7] | 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of Pango</title>
|
---|
| 86 |
|
---|
| 87 | <para>Install <application>Pango</application> by running the following
|
---|
| 88 | commands:</para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[8e4e046] | 93 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
| 94 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
[a2fc158] | 95 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
[8e4e046] | 96 | could fail if you have <application>LibThai</application> installed.
|
---|
[cf5c88ca] | 97 | </para>
|
---|
[394cd759] | 98 |
|
---|
[96d9ee1b] | 99 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 100 | user:</para>
|
---|
[10e9ab7] | 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
[e05cd03f] | 109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[56ce09e] | 110 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[10e9ab7] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="configuration">
|
---|
| 115 | <title>Configuring Pango</title>
|
---|
| 116 |
|
---|
| 117 | <sect3 id="pango-config">
|
---|
| 118 | <title>Config Files</title>
|
---|
| 119 |
|
---|
| 120 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
| 121 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
| 122 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
| 123 |
|
---|
| 124 | <indexterm zone="pango pango-config">
|
---|
| 125 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 |
|
---|
| 128 | <indexterm zone="pango pango-config">
|
---|
| 129 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | <sect3>
|
---|
| 135 | <title>Configuration Information</title>
|
---|
| 136 |
|
---|
| 137 | <para>The <application>Pango</application> module path is specified by
|
---|
| 138 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
| 139 | in the <application>Pango</application> config database, which is read
|
---|
| 140 | from the config files listed above.</para>
|
---|
| 141 |
|
---|
| 142 | </sect3>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
[b3949ca3] | 150 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 151 | <segtitle>Installed Libraries</segtitle>
|
---|
| 152 | <segtitle>Installed Directories</segtitle>
|
---|
| 153 |
|
---|
| 154 | <seglistitem>
|
---|
[fcf1326d] | 155 | <seg>
|
---|
| 156 | pango-querymodules and pango-view
|
---|
| 157 | </seg>
|
---|
| 158 | <seg>
|
---|
| 159 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
| 160 | libpangox-1.0.so, libpangoxft-1.0.so
|
---|
| 161 | </seg>
|
---|
| 162 | <seg>
|
---|
| 163 | /etc/pango, /usr/include/pango-1.0, /usr/lib/pango and
|
---|
| 164 | /usr/share/gtk-doc/html/pango
|
---|
| 165 | </seg>
|
---|
[10e9ab7] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="pango-querymodules">
|
---|
| 175 | <term><command>pango-querymodules</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>is a module registration utility that collects
|
---|
| 178 | information about <application>Pango</application> loadable
|
---|
| 179 | modules.</para>
|
---|
| 180 | <indexterm zone="pango pango-querymodules">
|
---|
| 181 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
[cf5c88ca] | 186 | <varlistentry id="pango-view">
|
---|
| 187 | <term><command>pango-view</command></term>
|
---|
| 188 | <listitem>
|
---|
[a41f643] | 189 | <para>renders a given file through <application>Pango</application>
|
---|
[49f7d8b] | 190 | for viewing purposes.</para>
|
---|
[cf5c88ca] | 191 | <indexterm zone="pango pango-view">
|
---|
| 192 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
[10e9ab7] | 197 | <varlistentry id="Pango-libraries">
|
---|
[cf5c88ca] | 198 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
[10e9ab7] | 199 | <listitem>
|
---|
| 200 | <para>contain low level layout rendering routines, a high
|
---|
| 201 | level driver for laying out entire blocks of text, and routines
|
---|
| 202 | to assist in editing internationalized text.</para>
|
---|
| 203 | <indexterm zone="pango Pango-libraries">
|
---|
[cf5c88ca] | 204 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
[10e9ab7] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | </variablelist>
|
---|
| 210 |
|
---|
| 211 | </sect2>
|
---|
[f45b1953] | 212 |
|
---|
| 213 | </sect1>
|
---|