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.40/pango-&pango-version;.tar.xz">
|
---|
8 | <!ENTITY pango-download-ftp "&gnome-download-ftp;/pango/1.40/pango-&pango-version;.tar.xz">
|
---|
9 | <!ENTITY pango-md5sum "1b4280450731eb3b18d0e2c632ae088a">
|
---|
10 | <!ENTITY pango-size "832 KB">
|
---|
11 | <!ENTITY pango-buildsize "21 MB (with tests)">
|
---|
12 | <!ENTITY pango-time "0.3 SBU (with tests)">
|
---|
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>
|
---|
33 | <application>Pango</application> is a library for laying out and rendering
|
---|
34 | of text, with an emphasis on internationalization. It can be used anywhere
|
---|
35 | that text layout is needed, though most of the work on
|
---|
36 | <application>Pango</application> so far has been done in the context of
|
---|
37 | the <application>GTK+</application> widget toolkit.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs80_checked;
|
---|
41 | &gcc7_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&pango-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&pango-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &pango-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &pango-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &pango-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &pango-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="fontconfig"/> (must be built with
|
---|
82 | <xref linkend="freetype2"/> using <xref linkend="harfbuzz"/>) and
|
---|
83 | <xref linkend="glib2"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
87 | <para role="recommended">
|
---|
88 | <xref linkend="cairo"/> and
|
---|
89 | <xref linkend="xorg7-lib"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
93 | <para role="optional">
|
---|
94 | <xref linkend="gobject-introspection"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
98 | <para role="optional">
|
---|
99 | <xref linkend="cantarell-fonts"/> (for tests),
|
---|
100 | <xref linkend="gtk-doc"/>, and
|
---|
101 | <ulink url="https://linux.thai.net/projects/libthai">libthai</ulink>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <para condition="html" role="usernotes">
|
---|
105 | User Notes: <ulink url="&blfs-wiki;/pango"/>
|
---|
106 | </para>
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="installation">
|
---|
110 | <title>Installation of Pango</title>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | Install <application>Pango</application> by running the following
|
---|
114 | commands:
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
118 | make</userinput></screen>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | To test the results, issue: <command>make check</command>. The
|
---|
122 | test-layout test is known to fail.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
130 | <!--
|
---|
131 | <note>
|
---|
132 | <para>
|
---|
133 | If you installed the package on to your system using a
|
---|
134 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
135 | must be copied and/or generated. Generate it using the following
|
---|
136 | command as the <systemitem class="username">root</systemitem> user:
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <screen role="root"><userinput>pango-querymodules -\-update-cache</userinput></screen>
|
---|
140 | </note>-->
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="commands">
|
---|
145 | <title>Command Explanations</title>
|
---|
146 |
|
---|
147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
148 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2 role="configuration">
|
---|
153 | <title>Configuring Pango</title>
|
---|
154 |
|
---|
155 | <sect3 id="pango-config">
|
---|
156 | <title>Config Files</title>
|
---|
157 |
|
---|
158 | <para>
|
---|
159 | <filename>/etc/pango/pangorc</filename>, <filename>~/.pangorc</filename>
|
---|
160 | and the file specified in the environment variable
|
---|
161 | <envar>PANGO_RC_FILE</envar>
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <indexterm zone="pango pango-config">
|
---|
165 | <primary sortas="e-etc-pango-pangorc">/etc/pango/pangorc</primary>
|
---|
166 | </indexterm>
|
---|
167 |
|
---|
168 | <indexterm zone="pango pango-config">
|
---|
169 | <primary sortas="e-AA.pangorc">~/.pangorc</primary>
|
---|
170 | </indexterm>
|
---|
171 | </sect3>
|
---|
172 | <!--
|
---|
173 | <sect3>
|
---|
174 | <title>Configuration Information</title>
|
---|
175 |
|
---|
176 | <para>
|
---|
177 | The <application>Pango</application> module path is specified by the key
|
---|
178 | <userinput><parameter>Pango/ModulesPath</parameter></userinput> in the
|
---|
179 | <application>Pango</application> config database, which is read from the
|
---|
180 | config files listed above.
|
---|
181 | </para>
|
---|
182 |
|
---|
183 | </sect3>-->
|
---|
184 |
|
---|
185 | </sect2>
|
---|
186 |
|
---|
187 | <sect2 role="content">
|
---|
188 | <title>Contents</title>
|
---|
189 |
|
---|
190 | <segmentedlist>
|
---|
191 | <segtitle>Installed Programs</segtitle>
|
---|
192 | <segtitle>Installed Libraries</segtitle>
|
---|
193 | <segtitle>Installed Directories</segtitle>
|
---|
194 |
|
---|
195 | <seglistitem>
|
---|
196 | <seg>
|
---|
197 | pango-view
|
---|
198 | </seg>
|
---|
199 | <seg>
|
---|
200 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
201 | and libpangoxft-1.0.so
|
---|
202 | </seg>
|
---|
203 | <seg>
|
---|
204 | /usr/include/pango-1.0 and
|
---|
205 | /usr/share/gtk-doc/html/pango
|
---|
206 | </seg>
|
---|
207 | </seglistitem>
|
---|
208 | </segmentedlist>
|
---|
209 |
|
---|
210 | <variablelist>
|
---|
211 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
212 | <?dbfo list-presentation="list"?>
|
---|
213 | <?dbhtml list-presentation="table"?>
|
---|
214 |
|
---|
215 | <varlistentry id="pango-view">
|
---|
216 | <term><command>pango-view</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>
|
---|
219 | renders a given file through <application>Pango</application> for
|
---|
220 | viewing purposes.
|
---|
221 | </para>
|
---|
222 | <indexterm zone="pango pango-view">
|
---|
223 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | <varlistentry id="libpango-1">
|
---|
229 | <term><filename class="libraryfile">libpango-1.0.so</filename></term>
|
---|
230 | <listitem>
|
---|
231 | <para>
|
---|
232 | contains low level layout rendering routines, a high level driver for
|
---|
233 | laying out entire blocks of text, and routines to assist in editing
|
---|
234 | internationalized text.
|
---|
235 | </para>
|
---|
236 | <indexterm zone="pango libpango-1">
|
---|
237 | <primary sortas="c-libpango-1">libpango-1.0.so</primary>
|
---|
238 | </indexterm>
|
---|
239 | </listitem>
|
---|
240 | </varlistentry>
|
---|
241 |
|
---|
242 | </variablelist>
|
---|
243 |
|
---|
244 | </sect2>
|
---|
245 |
|
---|
246 | </sect1>
|
---|