1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY pango-download-http "&gnome-download-http;/pango/1.29/pango-&pango-version;.tar.xz">
|
---|
8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.29/pango-&pango-version;.tar.xz">
|
---|
9 | <!ENTITY pango-md5sum "9d5aba73897d2e8e8115b3f4fddbc0af">
|
---|
10 | <!ENTITY pango-size "1.1 MB">
|
---|
11 | <!ENTITY pango-buildsize "36 MB">
|
---|
12 | <!ENTITY pango-time "0.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="pango" xreflabel="Pango-&pango-version;">
|
---|
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>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Pango</title>
|
---|
31 |
|
---|
32 | <para>The <application>Pango</application> package contains the
|
---|
33 | <filename class="libraryfile">libpango</filename> libraries. These are
|
---|
34 | useful for the layout and rendering of multilingual text.</para>
|
---|
35 |
|
---|
36 | &lfs70_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&pango-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&pango-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &pango-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &pango-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &pango-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &pango-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
63 | <para role="required"><xref linkend="glib2"/> and one of:
|
---|
64 | <xref linkend="cairo"/>, <xref linkend="x-window-system"/> or
|
---|
65 | <xref linkend="fontconfig"/></para>
|
---|
66 |
|
---|
67 | <note>
|
---|
68 | <para><application>cairo</application> is not required to build
|
---|
69 | <application>Pango</application>, but it is highly recommended that you
|
---|
70 | install <application>cairo</application> and the X Window System before
|
---|
71 | building <application>Pango</application>. If you don't build
|
---|
72 | <application>Pango</application> with a <application>cairo</application>
|
---|
73 | and <application>libXft</application> backend, then
|
---|
74 | <application>GTK+</application>-2 will not build.</para>
|
---|
75 | </note>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
78 | <para role="optional"><xref linkend="gobject-introspection"/>,
|
---|
79 | <ulink url="http://linux.thai.net/libthai">LibThai</ulink></para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional (To Rebuild the API
|
---|
82 | Documentation)</bridgehead>
|
---|
83 | <para role="optional"><xref linkend="gtk-doc"/></para>
|
---|
84 |
|
---|
85 | <para condition="html" role="usernotes">User Notes:
|
---|
86 | <ulink url="&blfs-wiki;/pango"/></para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Pango</title>
|
---|
92 |
|
---|
93 | <para>Install <application>Pango</application> by running the following
|
---|
94 | commands:</para>
|
---|
95 |
|
---|
96 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>To test the results, issue: <command>make check</command>. You can
|
---|
100 | install <xref linkend="gtk-doc"/> if you wish to test the documentation
|
---|
101 | section of the test suite. Also, the <quote>testboundries</quote> test
|
---|
102 | could fail if you have <application>LibThai</application> installed.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
106 | user:</para>
|
---|
107 |
|
---|
108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="commands">
|
---|
113 | <title>Command Explanations</title>
|
---|
114 |
|
---|
115 | <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
116 | configuration files into <filename class="directory">/etc</filename>
|
---|
117 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
118 |
|
---|
119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
120 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
121 |
|
---|
122 | <para><parameter>--disable-static</parameter>: This switch prevents the
|
---|
123 | static libraries from being built.</para>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="configuration">
|
---|
128 | <title>Configuring Pango</title>
|
---|
129 |
|
---|
130 | <sect3 id="pango-config">
|
---|
131 | <title>Config Files</title>
|
---|
132 |
|
---|
133 | <para><filename>/etc/pango/pangorc</filename>,
|
---|
134 | <filename>~/.pangorc</filename>, and the file specified in the
|
---|
135 | environment variable <envar>PANGO_RC_FILE</envar></para>
|
---|
136 |
|
---|
137 | <indexterm zone="pango pango-config">
|
---|
138 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
139 | </indexterm>
|
---|
140 |
|
---|
141 | <indexterm zone="pango pango-config">
|
---|
142 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
143 | </indexterm>
|
---|
144 |
|
---|
145 | </sect3>
|
---|
146 |
|
---|
147 | <sect3>
|
---|
148 | <title>Configuration Information</title>
|
---|
149 |
|
---|
150 | <para>The <application>Pango</application> module path is specified by
|
---|
151 | the key <userinput><parameter>Pango/ModulesPath</parameter></userinput>
|
---|
152 | in the <application>Pango</application> config database, which is read
|
---|
153 | from the config files listed above.</para>
|
---|
154 |
|
---|
155 | </sect3>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | <sect2 role="content">
|
---|
160 | <title>Contents</title>
|
---|
161 |
|
---|
162 | <segmentedlist>
|
---|
163 | <segtitle>Installed Programs</segtitle>
|
---|
164 | <segtitle>Installed Libraries</segtitle>
|
---|
165 | <segtitle>Installed Directories</segtitle>
|
---|
166 |
|
---|
167 | <seglistitem>
|
---|
168 | <seg>pango-querymodules and pango-view</seg>
|
---|
169 | <seg>libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
170 | libpangox-1.0.so, libpangoxft-1.0.so, pango-arabic-fc.so,
|
---|
171 | pango-arabic-lang.so, pango-basic-fc.so, pango-basic-x.so,
|
---|
172 | pango-hangul-fc.so, pango-hebrew-fc.so, pango-indic-fc.so,
|
---|
173 | pango-indic-lang.so, pango-khmer-fc.so, pango-syriac-fc.so,
|
---|
174 | pango-thai-fc.so, and pango-tibetan-fc.so</seg>
|
---|
175 | <seg>/etc/pango, /usr/include/pango-1.0 /usr/lib/pango and
|
---|
176 | /usr/share/gtk-doc/html/pango</seg>
|
---|
177 | </seglistitem>
|
---|
178 | </segmentedlist>
|
---|
179 |
|
---|
180 | <variablelist>
|
---|
181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
182 | <?dbfo list-presentation="list"?>
|
---|
183 | <?dbhtml list-presentation="table"?>
|
---|
184 |
|
---|
185 | <varlistentry id="pango-querymodules">
|
---|
186 | <term><command>pango-querymodules</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>is a module registration utility that collects
|
---|
189 | information about <application>Pango</application> loadable
|
---|
190 | modules.</para>
|
---|
191 | <indexterm zone="pango pango-querymodules">
|
---|
192 | <primary sortas="b-pango-querymodules">pango-querymodules</primary>
|
---|
193 | </indexterm>
|
---|
194 | </listitem>
|
---|
195 | </varlistentry>
|
---|
196 |
|
---|
197 | <varlistentry id="pango-view">
|
---|
198 | <term><command>pango-view</command></term>
|
---|
199 | <listitem>
|
---|
200 | <para>renders a given file through <application>Pango</application>
|
---|
201 | for viewing purposes.</para>
|
---|
202 | <indexterm zone="pango pango-view">
|
---|
203 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
204 | </indexterm>
|
---|
205 | </listitem>
|
---|
206 | </varlistentry>
|
---|
207 |
|
---|
208 | <varlistentry id="Pango-libraries">
|
---|
209 | <term><filename class="libraryfile">libpango*-1.0.so</filename></term>
|
---|
210 | <listitem>
|
---|
211 | <para>contain low level layout rendering routines, a high
|
---|
212 | level driver for laying out entire blocks of text, and routines
|
---|
213 | to assist in editing internationalized text.</para>
|
---|
214 | <indexterm zone="pango Pango-libraries">
|
---|
215 | <primary sortas="c-Pango-libraries">libpango*-1.0.so</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | </variablelist>
|
---|
221 |
|
---|
222 | </sect2>
|
---|
223 |
|
---|
224 | </sect1>
|
---|