Pango 1.24.0 released



Pango 1.24.0 is now available from:

  http://download.gnome.org/sources/pango/1.24/

d209f41079833cd2ef2c5e580ab9c5ee  pango-1.24.0.tar.bz2
eb2394d143012432b73b8633ed632726  pango-1.24.0.tar.gz

This is a stable release providing new functionality as compared to Pango-1.22, while maintaining source and binary compatibility. However,
the PangoFc backend API has changed slightly.  Projects subclassing PangoFc
are advised to review the changed API.

The major change since 1.22 is an overhaul of the internal caching of the
PangoFc fontmap implementation. The new code is much faster and more memory efficient. This, combined with other optimizations available in this release, drastically reduce Pango's overhead on Linux systems.

By popular request, pango-view now can save to PS, EPS, PDF, and SVG, and
the bug with "pango-view -q" requiring an X connection is also fixed. These make pango-view a much more usable tool. It now even ships with a man page.

See the NEWS file for an extensive list of improvements.

About Pango
===========

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, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x.

Pango is designed to be modular; the core Pango layout engine 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-text handling. Rendering can be done via Cairo or directly using the native Win32 API.

    - Native fonts on MacOS X, rendering via Cairo.

The integration of Pango with Cairo (http://cairographics.org) 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. Pango ships with a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported.

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.

  More information about Pango is available from http://www.pango.org/
Bugs should be reported to http://bugzilla.gnome.org/

Pango 1.24 depends on version 2.17.3 or newer of the GLib library and version 1.7.6 or newer of the cairo library (if the cairo backend is desired); more information about GLib and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively.


Overview of changes between 1.23.0 and 1.24.0
=============================================
- pango-view improvements:

  * pango-view -q now works without a X server.

  * Ability to save to PS, EPS, PDF, and SVG files.  Filetype is
    detected from output file extension.

  * New options --foreground, --background, and --annotate.

  * Now installs a manual page, thanks to help2man.

- PangoFc API changes:

  * PangoFcFont now has a "fontmap" property that subclasses can use
    at construction time to setup the font->fontmap link.

  * New backend-public API:

	pango_fc_font_map_find_decoder()

- Misc optimizations
- Build fixes
- Misc bug fixes
- Bugs fixed in this release:
    Bug 547963 – man page for pango-view
    Bug 502804 – pango-view or pangocairo-view option to annotate
    Bug 502801 – per-backend pango-view options
    Bug 502805 – pango-view option for foreground/background color
    Red Hat Bug 490331 -  Crash of galeon in libpango
    Bug 523166 – pango-view opens display even when invoked with -q
    Bug 567160 – Share cmap cache between PangoFcFont's of the same face
    Red Hat Bug 487593 -  crash changing language in gdm
    Bug 572662 – Remove deprecated GTK+ symbols
    Bug 572529 – Poor -I ordering can break build

Overview of changes between 1.22.4 and 1.23.0
=============================================
- Change the PangoFc font loading API to allow for lazy loading of fonts.
- Add private PangoFcFontset that loads fallback fonts as needed.
- Call FcFontMatch() and only if fallback fonts are needed call FcFontSort().
- Optimize HarfBuzz number of malloc calls
- Don't malloc megs of unused memory in HarfBuzz
- Print-out, and parse, numeric styles correctly.  Things like
  "DejaVu Sans weight=100" parse as font description now.
- New public API:

	Add two new public macros:

		PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING
		PANGO_ATTRIBUTE_INDEX_TO_TEXT_END

	Add new public enum values:
	
		PANGO_WEIGHT_BOOK
		PANGO_WEIGHT_ULTRAHEAVY
		PANGO_WEIGHT_THIN
		PANGO_WEIGHT_MEDIUM

- Misc bug fixes
- Bugs fixed in this release:
	Bug 569763 – pango doesn't like font descriptions without family!
	Bug 560792 – Make PangoLayoutLine with line->layout==NULL renderable
	Bug 567392 – Abiword crashes in pango when opening document with
		certain locales
	Bug 566727 – PangoFontsetLazy
	Bug 567165 – Apply all pattern matrices
	Bug 567934 – Add introspection support inside pango
	Bug 549532 – Correction to the sample string for Hindi in
		pango-language-sample-table.h
	Bug 566726 – Minor optimization
	Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and
		PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
	Bug 551469 – Fold '@' to '-' when parsing PangoLanguages
	Bug 328206 – Update/remove some old files
	Bug 166709 – Handle font variants more consistently
	Bug 166676 – pango_fc_font_map_finalize
	Bug 164001 - pango-querymodules doesn't work uninstalled on win32
	Bug 384362 – pango can't select some font styles
	Bug 168085 – numeric styles in pango_font_description_to_string()
	Bug 529591 – Code related to malayalam is misplaced.
		Patch from Rahul Bhalerao
	Bug 515807 – Don't bind modules lazily
	Bug 512662 – Update check.docs for pango-undeclared.txt
	Bug 565644 – Maybe pango_font_descriptions_free is deprecated
	Bug 469049 – Fix all compiler warnings
	Bug 565379 – pango_font_description_better_match some style attributes
		of old_match are not checked
	Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT


Behdad Esfahbod
16 March 2009



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]