pangomm: pangomm Reference Manual


pangomm is the official C++ interface for the Pango font layout library. See, for instance, the Pango::Layout class.

Basic Usage

Include the pangomm header:

#include <pangomm.h>

This includes every header installed by pangomm, so can slow down compilation, but suffices for this simple example. Assuming that your program source file is, compile it with:

g++ -o program `pkg-config --cflags --libs pangomm-1.4`

Alternatively, if using autoconf, use the following in


Then use the generated PANGOMM_CFLAGS and PANGOMM_LIBS variables in the project files. For example: