#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 25. X Libraries

- Prev

  libxklavier-5.4

- Next

  Pangomm-2.46.0

- Up
- Home

# Pango-1.48.2

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

### Package Information

- Download (HTTP): https://download.gnome.org/sources/pango/1.48/pango-1.48.2.tar.xz

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/pango/1.48/pango-1.48.2.tar.xz

- Download MD5 sum: 522dcdd65ec47c3bee5bea6019ca9f94

- Download size: 528 KB

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

- Estimated build time: 0.2 SBU (with tests)

### Pango Dependencies

#### Required

Fontconfig-2.13.1 (must be built with FreeType-2.10.4 using HarfBuzz-2.7.4), FriBidi-1.0.9, and GLib-2.66.7

#### Recommended

Cairo-1.17.2+f93fc72c03e, gobject-introspection-1.66.1 (Required if building GNOME), and Xorg Libraries

#### Optional

Cantarell fonts (for tests), GTK-Doc-1.33.2, 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 .. &&
    ninja

To test the results, issue: ninja test. Three tests, `test-font`, `test-layout`, and `test-itemize`, are known to fail if Cantarell fonts is not installed.

Now, as the `root` user:

    ninja install

## Command Explanations

`-Dgtk_doc`: Use this switch if gtk-doc is installed and you wish to rebuild and install the API documentation.

`-Dintrospection=false`: Use this switch if you do not want to use gobject-introspection-1.66.1.

## 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 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 2021-02-21 11:05:24 -0800

- Prev

  libxklavier-5.4

- Next

  Pangomm-2.46.0

- Up
- Home