Pango-1.26.0

Introduction to Pango

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

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

Package Information

Pango Dependencies

Required

GLib-2.22.0 and one of cairo-1.8.8 or X Window System or Fontconfig-2.7.3

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.11

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.11 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 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 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-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 2009-10-21 16:11:18 +0000