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

Package Information

Pango Dependencies


Fontconfig-2.13.0 (must be built with FreeType-2.9.1 using HarfBuzz-1.8.8), FriBidi-1.0.5, and GLib-2.56.1


Optional (Required if building GNOME)



Cantarell fonts (for tests), GTK-Doc-1.28, help2man, and libthai

User Notes:

Installation of Pango

Install Pango by running the following commands:

mkdir build &&
cd    build &&

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

To test the results, issue: ninja test. One test, test-layout, is known to fail.

Now, as the root user:

ninja install

Command Explanations

-Denable-docs: Use this switch 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-list and pango-view
Installed Libraries:,,, and
Installed Directories: /usr/include/pango-1.0, /usr/share/installed-tests/pango, and /usr/share/gtk-doc/html/pango

Short Descriptions


displays a list of fonts that Pango can use that are currently installed on the system.


renders a given text 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 2018-08-19 14:04:57 -0700