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

La Pango és el nucli de la gestió de biblioteques de tipus de lletra i de text a la plataforma GNOME. És la responsable de la disposició i renderització del text i s'utilitza en tota la GTK+.

El motor de disposició de la Pango es pot utilitzar amb diversos rerefons de tipus de lletra i de dibuix. En la majoria de sistemes GNOME utilitzarà la FreeType, la fontconfig i la Cairo per accedir als tipus de lletra i renderitzar el text. En altres sistemes utilitzarà els seus sistemes nadius, com ara l'Uniscribe a Microsoft Windows i l'ATSUI a MacOS

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.

Hauríeu d'utilitzar la Pango directament quan necessiteu mostrar el text a la pantalla o en algun altre medi. Si utilitzeu la Pango permetreu que la disposició del text sigui exacte i coherent amb la resta d'aplicacions GTK+ i la plataforma GNOME. A més a més us permetrà crear codi portable, i encara més important, us assegurarà que la vostra aplicació podrà renderitzar text correctament en centenars d'idiomes diferents.

Pango Reference Manual

The Pango web site