Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed; however, most of the work on Pango so far has been done using the GTK widget toolkit as a test platform. Pango forms the core of text and font handling for GTK.
Pango is designed to be modular; the core Pango layout can be used with different font backends. There are three basic backends, with multiple options for rendering with each.
Client-side fonts using the FreeType and FontConfig libraries. Rendering can be with with Cairo or Xft libraries, or directly to an in-memory buffer with no additional libraries. Native fonts on Microsoft Windows. Rendering can be done via Cairo or directly using the native Win32 API.
Native fonts on MacOS X with the CoreText framework, rendering via Cairo.
The integration of Pango with Cairo provides a complete solution with high quality text handling and graphics rendering. As well as the low level layout rendering routines, Pango includes PangoLayout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text.
Homepage
Download
Recent Releases
1.56.010 Jan 2025 20:05
major bugfix:
Support setting font features in font descriptions.
Serialization: Document the tab array format.
Serialization: Accept attributes without range.
Win32: Improve the pango_font_map_reload_implementation.
Win32: Take variations into account for caching.
Layout: measuring ellipsis runs with shapes.
Build: Require C11.
Build: Require GLib 2.80.
Build: Require cairo 1.18.
1.5503 Dec 2024 18:05
minor feature:
Support Unicode 16.
Add pango_font_map_add_font_file.
Fontconfig: Reject patterns without FC_FILE.
Coretext: Actually use.AppleSystemUIFont.
Coretext: Keep track of variations.
Win32: Use font options for caching.
Win32: Keep variations in PangoWin32Font.
Build: Require harfbuzz 8.4.0.
Build: Require fontconfig 2.15.
Build: Require meson 1.2.0.
Build: Require Window 10.
1.54.010 Jun 2024 20:25
major bugfix:
Build - Memory leak - Drop the install-tests build option.
Add build-examples and build-tests build options.
Require meson 0.63.
Add pango_item_get_char_offset.
Update to Unicode 15.1.
wrong use of GWeakRef, leading to crashes.
1.52.231 Mar 2024 20:14
minor bugfix:
- coretext: Implement reload_font
- coretext: Use Menlo instead of Courier for monospace
- win32: Avoid a double free
- Update to Unicode 15.1
- Simplify hexbox drawing
1.52.106 Mar 2024 07:45
minor bugfix:
Hexbox drawing.
1.52.028 Feb 2024 03:21
minor feature:
- Add pango_font_map_reload_font
- Improve formatting of font sizes
|