Introduction to Pango

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

Package Information

Pango Dependencies


GLib-2.10.3 and one of cairo-1.2.4 or X Window System or Fontconfig-2.3.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 (If cairo is Not Installed)

X Window System

Optional (To Rebuild the API Documentation)


User Notes:

Installation of Pango

Install Pango by running the following commands:

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

To test the results, issue: make check.

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.


Installed Programs: pango-querymodules and pango-view
Installed Libraries: libpango* 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


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 2006-06-26 10:45:37 -0500