[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 |
|
---|
[10a0e29] | 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">
|
---|
[b541318] | 9 | <!ENTITY pango-md5sum "5485d2c82a14222315706eb8da20353c">
|
---|
[a3c5e951] | 10 | <!ENTITY pango-size "832 KB">
|
---|
| 11 | <!ENTITY pango-buildsize "21 MB (with tests)">
|
---|
[ba8f1a8] | 12 | <!ENTITY pango-time "0.3 SBU (with tests)">
|
---|
[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 |
|
---|
[b83d289] | 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
|
---|
[d356833] | 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.
|
---|
[b83d289] | 38 | </para>
|
---|
[10e9ab7] | 39 |
|
---|
[fce3067] | 40 | &lfs80_checked;
|
---|
[e478152] | 41 | &gcc7_checked;
|
---|
[cf5c88ca] | 42 |
|
---|
[10e9ab7] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[a2912ff] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&pango-download-http;"/>
|
---|
| 48 | </para>
|
---|
[10e9ab7] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[a2912ff] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&pango-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[10e9ab7] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[a2912ff] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &pango-md5sum;
|
---|
| 58 | </para>
|
---|
[10e9ab7] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[a2912ff] | 61 | <para>
|
---|
| 62 | Download size: &pango-size;
|
---|
| 63 | </para>
|
---|
[10e9ab7] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[a2912ff] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &pango-buildsize;
|
---|
| 68 | </para>
|
---|
[10e9ab7] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[a2912ff] | 71 | <para>
|
---|
| 72 | Estimated build time: &pango-time;
|
---|
| 73 | </para>
|
---|
[10e9ab7] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">Pango Dependencies</bridgehead>
|
---|
| 78 |
|
---|
[a2912ff] | 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 80 | <para role="required">
|
---|
[c870dc3] | 81 | <xref linkend="fontconfig"/> (must be built with
|
---|
[1cfd61d] | 82 | <xref linkend="freetype2"/> using <xref linkend="harfbuzz"/>) and
|
---|
| 83 | <xref linkend="glib2"/>
|
---|
[cba59986] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 87 | <para role="recommended">
|
---|
| 88 | <xref linkend="cairo"/> and
|
---|
[b83d289] | 89 | <xref linkend="xorg7-lib"/>
|
---|
[9bdf4118] | 90 | </para>
|
---|
| 91 |
|
---|
[4c2be438] | 92 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
| 94 | <xref linkend="gobject-introspection"/>
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
[fcf1326d] | 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 98 | <para role="optional">
|
---|
[e180a646] | 99 | <xref linkend="cantarell-fonts"/> (for tests),
|
---|
| 100 | <xref linkend="gtk-doc"/>, and
|
---|
| 101 | <ulink url="https://linux.thai.net/projects/libthai">libthai</ulink>
|
---|
[fcf1326d] | 102 | </para>
|
---|
[10e9ab7] | 103 |
|
---|
[b83d289] | 104 | <para condition="html" role="usernotes">
|
---|
| 105 | User Notes: <ulink url="&blfs-wiki;/pango"/>
|
---|
| 106 | </para>
|
---|
[10e9ab7] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
| 110 | <title>Installation of Pango</title>
|
---|
| 111 |
|
---|
[b83d289] | 112 | <para>
|
---|
| 113 | Install <application>Pango</application> by running the following
|
---|
| 114 | commands:
|
---|
| 115 | </para>
|
---|
[10e9ab7] | 116 |
|
---|
[92245989] | 117 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[10e9ab7] | 118 | make</userinput></screen>
|
---|
| 119 |
|
---|
[b83d289] | 120 | <para>
|
---|
[1fd59b5] | 121 | To test the results, issue: <command>make check</command>. The
|
---|
| 122 | test-layout test is known to fail.
|
---|
[cf5c88ca] | 123 | </para>
|
---|
[394cd759] | 124 |
|
---|
[b83d289] | 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
[10e9ab7] | 128 |
|
---|
| 129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c870dc3] | 130 | <!--
|
---|
[2ffe965] | 131 | <note>
|
---|
| 132 | <para>
|
---|
| 133 | If you installed the package on to your system using a
|
---|
[b4b2a76] | 134 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
[2ffe965] | 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 |
|
---|
[c870dc3] | 139 | <screen role="root"><userinput>pango-querymodules -\-update-cache</userinput></screen>
|
---|
| 140 | </note>-->
|
---|
[28b61748] | 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
[10e9ab7] | 144 | <sect2 role="commands">
|
---|
| 145 | <title>Command Explanations</title>
|
---|
| 146 |
|
---|
[e05cd03f] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[2ffe965] | 148 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 149 |
|
---|
[10e9ab7] | 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="configuration">
|
---|
| 153 | <title>Configuring Pango</title>
|
---|
| 154 |
|
---|
| 155 | <sect3 id="pango-config">
|
---|
| 156 | <title>Config Files</title>
|
---|
| 157 |
|
---|
[b83d289] | 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>
|
---|
[10e9ab7] | 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>
|
---|
[c870dc3] | 172 | <!--
|
---|
[10e9ab7] | 173 | <sect3>
|
---|
| 174 | <title>Configuration Information</title>
|
---|
| 175 |
|
---|
[b83d289] | 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>
|
---|
[d356833] | 182 |
|
---|
[c870dc3] | 183 | </sect3>-->
|
---|
[d356833] | 184 |
|
---|
[10e9ab7] | 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
[b3949ca3] | 191 | <segtitle>Installed Programs</segtitle>
|
---|
[10e9ab7] | 192 | <segtitle>Installed Libraries</segtitle>
|
---|
| 193 | <segtitle>Installed Directories</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
[fcf1326d] | 196 | <seg>
|
---|
[c870dc3] | 197 | pango-view
|
---|
[a2912ff] | 198 | </seg>
|
---|
| 199 | <seg>
|
---|
[28b61748] | 200 | libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so,
|
---|
[feb1a649] | 201 | and libpangoxft-1.0.so
|
---|
[fcf1326d] | 202 | </seg>
|
---|
| 203 | <seg>
|
---|
[c870dc3] | 204 | /usr/include/pango-1.0 and
|
---|
[fcf1326d] | 205 | /usr/share/gtk-doc/html/pango
|
---|
| 206 | </seg>
|
---|
[10e9ab7] | 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 |
|
---|
[cf5c88ca] | 215 | <varlistentry id="pango-view">
|
---|
| 216 | <term><command>pango-view</command></term>
|
---|
| 217 | <listitem>
|
---|
[b83d289] | 218 | <para>
|
---|
| 219 | renders a given file through <application>Pango</application> for
|
---|
| 220 | viewing purposes.
|
---|
| 221 | </para>
|
---|
[cf5c88ca] | 222 | <indexterm zone="pango pango-view">
|
---|
| 223 | <primary sortas="b-pango-view">pango-view</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
[d356833] | 228 | <varlistentry id="libpango-1">
|
---|
| 229 | <term><filename class="libraryfile">libpango-1.0.so</filename></term>
|
---|
[10e9ab7] | 230 | <listitem>
|
---|
[b83d289] | 231 | <para>
|
---|
[2f12da13] | 232 | contains low level layout rendering routines, a high level driver for
|
---|
[b83d289] | 233 | laying out entire blocks of text, and routines to assist in editing
|
---|
| 234 | internationalized text.
|
---|
| 235 | </para>
|
---|
[d356833] | 236 | <indexterm zone="pango libpango-1">
|
---|
| 237 | <primary sortas="c-libpango-1">libpango-1.0.so</primary>
|
---|
[10e9ab7] | 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
[a2912ff] | 241 |
|
---|
[10e9ab7] | 242 | </variablelist>
|
---|
[a2912ff] | 243 |
|
---|
[10e9ab7] | 244 | </sect2>
|
---|
[a2912ff] | 245 |
|
---|
[f45b1953] | 246 | </sect1>
|
---|