Introduction to Pango

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

Package information

Pango dependencies




Xft (included in XFree86-4.4.0 or, Fontconfig-2.2.3 and GTK-Doc-1.2

Installation of Pango

In order for Pango to find Xft, the PKG_CONFIG_PATH must include /usr/X11R6/lib/pkgconfig. This is a good time to add it if you haven't already. You can utilize the example for to create a script for modifying this variable located in the section The Bash Shell Startup Files.

Install Pango by running the following commands:

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

Command explanations

--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.

--enable-gtk-doc: This switch will rebuild the API documentation during the make command.

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.


The Pango package contains pango-querymodules, libpango libraries and Pango loadable modules.



pango-querymodules is a module registration utility that collects information about Pango loadable modules

Pango libraries

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 2005-03-06 15:09:29 -0700