Pango-1.29.4

Introduction to Pango

The Pango package contains the libpango libraries. These are useful for the layout and rendering of multilingual text.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

Pango Dependencies

Required

GLib-2.30.1 and one of: cairo-1.10.2, X Window System or Fontconfig-2.8.0

[Note]

Note

cairo is not required to build Pango, but it is highly recommended that you install cairo and the X Window System before building Pango. If you don't build Pango with a cairo and libXft backend, then GTK+-2 will not build.

Optional

gobject-introspection-1.30.0, LibThai

Optional (To Rebuild the API Documentation)

GTK-Doc-1.18

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pango

Installation of Pango

Install Pango by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc &&
make

To test the results, issue: make check. You can install GTK-Doc-1.18 if you wish to test the documentation section of the test suite. Also, the “testboundries” test could fail if you have LibThai installed.

Now, as the root user:

make install

Command Explanations

--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

--disable-static: This switch prevents the static libraries from being built.

Configuring Pango

Config Files

/etc/pango/pangorc, ~/.pangorc, and the file specified in the environment variable PANGO_RC_FILE

Configuration Information

The Pango module path is specified by the key Pango/ModulesPath in the Pango config database, which is read from the config files listed above.

Contents

Installed Programs: pango-querymodules and pango-view
Installed Libraries: libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so, libpangox-1.0.so, libpangoxft-1.0.so, pango-arabic-fc.so, pango-arabic-lang.so, pango-basic-fc.so, pango-basic-x.so, pango-hangul-fc.so, pango-hebrew-fc.so, pango-indic-fc.so, pango-indic-lang.so, pango-khmer-fc.so, pango-syriac-fc.so, pango-thai-fc.so, and pango-tibetan-fc.so
Installed Directories: /etc/pango, /usr/include/pango-1.0 /usr/lib/pango and /usr/share/gtk-doc/html/pango

Short Descriptions

pango-querymodules

is a module registration utility that collects information about Pango loadable modules.

pango-view

renders a given file through Pango for viewing purposes.

libpango*-1.0.so

contain low level layout rendering routines, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text.

Last updated on 2011-12-03 20:54:08 +0000