talira

C library for laying out and rendering internationalized text, the text engine of GTK

open sourceLGPL-2.1-or-laterfree

Pango is a C library for laying out and rendering text, with an emphasis on internationalization. It forms the core of text and font handling for GTK, but it can be used wherever text layout is needed. Its layout engine works with different font backends (FreeType and fontconfig, native Windows fonts, and macOS fonts through cairo), it gets complex-text shaping from HarfBuzz, and PangoLayout lays out whole blocks of text.

Problems it solves

  • lay out and render text in many scripts, including right-to-left and complex scripts, in my C application
  • draw properly shaped, wrapped paragraphs of text with Cairo
  • render internationalized text labels in a GTK app

Features

  • text layout and rendering with an emphasis on internationalization
  • PangoLayout for laying out whole blocks of text
  • complex-text shaping through HarfBuzz on every platform
  • font backends for FreeType and fontconfig, Windows and macOS
  • rendering through Cairo, Xft, Win32 or an in-memory buffer
  • bidirectional and vertical text, text attributes and markup

Alternatives

The same job

These do what Pango does.

  1. HarfBuzz The open source text shaping engine

Compare Pango with the top 3