Pango-1.16.4

Introduction to Pango

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

Package Information

Pango Dependencies

Required

GLib-2.12.12 and one of cairo-1.4.14 or X Window System or Fontconfig-2.4.2

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

Optional

LibThai

Optional (If cairo is Not Installed)

X Window System

Optional (To Rebuild the API Documentation)

GTK-Doc-1.8

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. Note that 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 the API documentation.

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 and Pango loadable modules.
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 libraries

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 2007-07-16 14:53:12 -0500