pangomm
2.40.1
|
pangomm is the official C++ interface for the Pango font layout library. See, for instance, the Pango::Layout class.
Include the pangomm header:
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 program.cc
, compile it with:
Alternatively, if using autoconf, use the following in configure.ac:
Then use the generated PANGOMM_CFLAGS
and PANGOMM_LIBS
variables in the project Makefile.am
files. For example: