Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C Diff Other
branch: master

Add tests for PangoAttributes

These tests exercise PangoAttribute, PangoAttrList and
PangoAttrIterator apis.
latest commit b137e7b099
Matthias Clasen authored
Failed to load latest commit information.
build MSVC Builds: Rename "Install" Project
docs Doc fixups
examples Fix cairotwisted curve_length()
modules [coretext] Minor fix
pango-view Don't call g_type_init if GLib is new enough
pango Bug 743692 - Irish pangram (sample text) is inappropriate
tests Add tests for PangoAttributes
tools colors: Update colors to SVG/CSS palette
AUTHORS Pass gnits instead of gnu to automake.
COPYING Initial revision
ChangeLog.pre-1-0 Move pre-1.0 ChangeLog aside
ChangeLog.pre-1-10 === Released 1.10.0 ===
ChangeLog.pre-1-12 Create pango-1-12 stable branch.
ChangeLog.pre-1-14 Split ChangeLog.pre-1.14
ChangeLog.pre-1-16 Split ChangeLog.
ChangeLog.pre-1-18 Bug 486951 – ChangeLog.pre-1-18
ChangeLog.pre-1-2 Add bits for Emacs and Vim to note UTF-8 encoding...
ChangeLog.pre-1-20 Wrap ChangeLog.
ChangeLog.pre-1-23 Rename ChangeLog.pre-1.23 -> ChangeLog.pre-1-23
ChangeLog.pre-1-4 Add bits for Emacs and Vim to note UTF-8 encoding...
ChangeLog.pre-1-6 Add bits for Emacs and Vim to note UTF-8 encoding...
ChangeLog.pre-1-8 Add bits for Emacs and Vim to note UTF-8 encoding...
HACKING Bug 328206 – Update/remove some old files
MAINTAINERS Add empty line between maintainers [] Update
NEWS 1.36.8
README Make HarfBuzz dependency optional (on non-Linux), update README
README.win32 README.win32: Update compilation info a bit
THANKS Pass gnits instead of gnu to automake.
acinclude.m4 Lets see if this shuts introspection down so I can get a release out ensure's behaviour Update Bump version to 1.37 [] Update Move gmodule to Requires.private Drop pango.aliases as we have a default such built-in nowadays.
pango.doap doap: add <programming-language> Move gmodule to Requires.private Bug 496244 – Don't use freetype-config, use pkg-config Bug 496244 – Don't use freetype-config, use pkg-config Bug 496244 – Don't use freetype-config, use pkg-config Add HarfBuzz to pkgconfig requires.private Add the Win32 GDI Pango backend to autoconfiguration: Bug 496244 – Don't use freetype-config, use pkg-config Bug 496244 – Don't use freetype-config, use pkg-config Bug 496244 – Don't use freetype-config, use pkg-config Default to --disable-static.


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+-2.x.

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 using Uniscribe for complex
   script handling. Rendering can be done via Cairo or directly
   using the native Win32 API.

 - Native fonts on MacOS X with the CoreText framework, rendering via

The integration of Pango with Cairo (
provides a complete solution with high quality text handling 
and graphics rendering.

Dynamically loaded modules then handle text layout for particular
combinations of script and font backend.

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.

For more information about Pango, see:


Pango depends on the GLib library; more information about GLib can
be found at

To use the Free Software stack backend, Pango depends on the following

  * fontconfig for font discovery (,

  * FreeType for font access (,

  * HarfBuzz for complex text shaping (

Cairo support depends on the Cairo library (
The Cairo backend is the preferred backend to use Pango with and is
subject of most of the development in the future.  It has the
advantage that the same code can be used for display and printing.

We suggest using Pango with Cairo as described above, but you can also
do X-specific rendering using the Xft library. The Xft backend uses
version 2 of the Xft library to manage client side fonts. Version 2 of
Xft is available from  You'll
need the libXft package, and possibly the libXrender and renderext
packages as well.  You'll also need fontconfig (see below.)

Installation of Pango on Win32 is possible, but is not documented
here. See


 - By default, Pango tries to build itself so that no explicit
   dependency on Xft or FreeType will be introduced in apps that
   link to Pango. This is to avoid compatibility problems with
   changes in the Xft or FreeType API's or ABI's. Specifying 
   --enable-explicit-deps or --enable-static when configuring Pango 
   will defeat this and should be avoided if possible.


Most of the code of Pango is licensed under the terms of the 
GNU Lesser Public License (LGPL) - see the file COPYING for details.

The OpenType code in pango/opentype is derived from the FreeType 
project ( and is dual-licensed under the 
GNU General Public License and the FreeType license. See see
pango/opentype/FT-license.txt for full details of the FreeType 

Note that binary distributions of Pango must include a disclaimer 
that the software is based in part of the work of the FreeType Team, 
in the distribution documentation; for instance, by including this 
README file.

Owen Taylor

Behdad Esfahbod

20 August 2012
Something went wrong with that request. Please try again.