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