Pango-1.42.4

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 25. X Libraries

- Prev

  libxklavier-5.4

- Next

  Pangomm-2.42.0

- Up
- Home

# Pango-1.42.4

## 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-8.4 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/pango/1.42/pango-1.42.4.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/pango/1.42/pango-1.42.4.tar.xz

- Download MD5 sum: deb171a31a3ad76342d5195a1b5bbc7c

- Download size: 816 KB

- Estimated disk space required: 18 MB (with tests)

- Estimated build time: less than 0.1 SBU (with tests)

### Pango Dependencies

#### Required

Fontconfig-2.13.1 (must be built with FreeType-2.9.1 using HarfBuzz-2.3.1), FriBidi-1.0.5, and GLib-2.58.3

#### Recommended

Cairo-1.16.0 and Xorg Libraries

#### Optional (Required if building GNOME)

gobject-introspection-1.58.3

#### Optional

Cantarell fonts (for tests), GTK-Doc-1.29, help2man, and libthai

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

## Installation of Pango

Install Pango by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr --sysconfdir=/etc .. &&
    ninja

To test the results, issue: ninja test. One test, test-layout, is known to fail.

Now, as the `root` user:

    ninja install

## Command Explanations

`-Denable-docs`: Use this switch 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-list 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, /usr/share/installed-tests/pango, and /usr/share/gtk-doc/html/pango

### Short Descriptions

pango-list | displays a list of fonts that Pango can use that are currently installed on the system.
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.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  libxklavier-5.4

- Next

  Pangomm-2.42.0

- Up
- Home