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.10 platform.

Package Information

Pango Dependencies


Fontconfig-2.12.1 (must be built with FreeType-2.6.5 using HarfBuzz-1.3.0) and GLib-2.48.2


Optional (Required if building GNOME)



GTK-Doc-1.25 and Cantrell Fonts (for tests)

User Notes:

Installation of Pango

Install Pango by running the following commands:

sed -i "/seems to be moved/s/^/#/" &&
./configure --prefix=/usr --sysconfdir=/etc &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -i ... This sed silences several useless and annoying warnings generated from libtool.

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


Installed Programs: pango-view
Installed Libraries:,,, and
Installed Directories: /usr/include/pango-1.0 and /usr/share/gtk-doc/html/pango

Short Descriptions


renders a given file through Pango for viewing purposes.

contains 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 2016-08-27 18:22:29 -0700