Shaun McCance shaunm@gnome.org 2011–2012 International text rendering with full Unicode support Pango

Pango is the core text and font handling library in the GNOME platform. It is responsible for laying out and rendering text, and is used throughout GTK+.

Pango レイアウト・エンジンは異なるフォント・バックエンド、および描画バックエンドで使用することができます。大抵の GNOME システムでは、Pango は FreeType、fontconfig、およびフォントへのアクセスとテキストの描画に Cairo を使用します。ほかのシステムでは Pango はネイティブのフォントシステム、たとえば Microsoft Windows では Uniscribe、MacOS では ATSUI を使用します

Pango has extensive support for the various writing systems used throughout the world. Many of the writing systems used for languages have complex rules for laying out glyphs and composing characters. With Pango, nearly all languages can be written and displayed correctly, allowing users everywhere to view text in their native languages. Pango's support for multiple writing systems is automatic; application developers do not have to write any special code to support other languages.

Pango supports the kind of text styling used in typical documents and interfaces, including italics, font weights, and underlines. Pango uses a simple XML-like vocabulary called PangoMarkup which enables you to set font size, color, styles, and other text attributes. Using PangoMarkup, you can specify inline styles without manually iterating over text blocks. PangoMarkup can be used directly from GTK+, enabling you to style text in your graphical interfaces easily.

スクリーンやその他のデバイスにテキストをレイアウトするときは常に Pango を直接使用するべきです。Pango を使用することにより GTK+ や GNOME プラットフォームの他の部分とシームレスにテキストをレイアウトすることができます。また可搬性のあるコードを記述でき、あなたのアプリケーションが異なる数百の言語を表示できることを保証します。

Pango Reference Manual

The Pango web site