# Pango

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

Source: https://talira.ai/catalog/pango-zmjmgtwr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / text / shaping](https://talira.ai/categories/libraries/text/shaping), [languages / c](https://talira.ai/categories/languages/c)
- Licence: LGPL-2.1-or-later[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (LGPL-2.1-or-later).
- Free tier: yes[^1]
- Backed by: [GNOME Foundation](https://talira.ai/orgs/gnome-foundation.md)
- Funding: non-profit[^2]

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](https://talira.ai/catalog/gtk-8hnytc9b.md), 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](https://talira.ai/catalog/cairo-y4e3tpdn.md)), it gets complex-text shaping from [HarfBuzz](https://talira.ai/catalog/harfbuzz-0g5qf7ef.md), and `PangoLayout` lays out whole blocks of text.

## Links

- Website: https://www.pango.org/
- Repository: https://gitlab.gnome.org/GNOME/pango
- Docs: https://docs.gtk.org/Pango/

## 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

## Trust

Overall: 0.37 out of 1.
Signals: backing 0.55, extensibility 0.00.

- backed by GNOME Foundation
- funding: non-profit

Warnings:

- activity not tracked: Talira doesn't read repositories on gitlab.gnome.org yet

## Related

- Works with [HarfBuzz](https://talira.ai/catalog/harfbuzz-0g5qf7ef.md)
- Works with [cairo](https://talira.ai/catalog/cairo-y4e3tpdn.md)

## Alternatives

- [HarfBuzz](https://talira.ai/catalog/harfbuzz-0g5qf7ef.md): The open source text shaping engine

## Sources

[^1]: https://docs.gtk.org/Pango/ (checked 29 Nov 2026)
[^2]: https://foundation.gnome.org/ (checked 20 Nov 2026)
