Introduction to Pango

Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit.

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

Package Information

Pango Dependencies


Fontconfig-2.11.1 (must be built with FreeType-2.6 using Harfbuzz-1.0.4) and GLib-2.46.0


Optional (Required if building GNOME)




User Notes:

Installation of Pango

Install Pango by running the following commands:

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

To test the results, issue: make -k check. One test fails for unknown reasons.

Now, as the root user:

make install


If you installed the package on to your system using a “DESTDIR” method, an important file was not installed and must be copied and/or generated. Generate it using the following command as the root user:

pango-querymodules --update-cache

Command Explanations

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install 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:,,, and
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.


renders a given file through Pango for viewing purposes.

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 2015-10-08 14:09:42 -0500