Pango-1.40.1

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

Required

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

Recommended

Optional (Required if building GNOME)

gobject-introspection-1.48.0

Optional

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

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pango

Installation of Pango

Install Pango by running the following commands:

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

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

sed -i ... ltmain.sh: 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

Contents

Installed Programs: pango-view
Installed Libraries: libpango-1.0.so, libpangocairo-1.0.so, libpangoft2-1.0.so, and libpangoxft-1.0.so
Installed Directories: /usr/include/pango-1.0 and /usr/share/gtk-doc/html/pango

Short Descriptions

pango-view

renders a given file through Pango for viewing purposes.

libpango-1.0.so

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