Pango-1.57.0

Introduction to Pango

Pango is a library for laying out and rendering 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 12.4 platform.

Package Information

  • Download (HTTP): https://download.gnome.org/sources//pango/1.57/pango-1.57.0.tar.xz

  • Download SHA256 Sum: 890640c841dae77d3ae3d8fe8953784b930fa241b17423e6120c7bfdf8b891e7

  • Download MD5 sum: c027445c1325603a2a11df2fd868e6b8

  • Download size: 14,231.7 KB

  • Estimated disk space required: 24,714.0 KB

  • Estimated build time: less than 0.5 SBU

Pango Dependencies

Required

Fontconfig-2.17.1 (must be built with FreeType-2.14.1 using harfBuzz-12.2.0), FriBidi-1.0.16, and GLib-2.86.2 (GObject Introspection required for GNOME)

Recommended

Optional

docutils-0.22.3 (to generate manual pages), help2man, libthai, and

Installation of Pango

Prepare Pango by running the following commands:

meson setup build --prefix=/usr      \
            --buildtype=release      \
            --wrap-mode=nofallback   \
            -D introspection=enabled
ninja -C build

Three tests, test-font-data, test-font, and test-layout are known to fail due to missing font data. To test the results, issue:

ninja -C build test

Now Install, as the root user:

ninja -C build install

Command Explanations

-D introspection=disabled: Use this switch if you do not want to use GObject Introspection.

Configuring Pango

Config Files

/etc/pango/pangorc, ~/.pangorc and the file specified in the environment variable PANGO_RC_FILE

Contents

Installed Programs: pango-list, pango-segmentation, and 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/doc/pango-1.57.0 (if gi-docgen is available)

Short Descriptions

pango-list

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

pango-segmentation

shows text segmentation as determined by Pango.

pango-view

renders a given text 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