From d24eaa5a519e173a87dea1b08506458ab45ac89d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 18 Jan 2007 04:58:36 +0000 Subject: === Released 1.15.4 === 2007-01-17 Behdad Esfahbod * === Released 1.15.4 === * configure.in: Version 1.15.4 * NEWS: Updated. svn path=/trunk/; revision=2172 --- ChangeLog | 8 +++++ NEWS | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 118 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 788bf78a..bd208977 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-01-17 Behdad Esfahbod + + * === Released 1.15.4 === + + * configure.in: Version 1.15.4 + + * NEWS: Updated. + 2007-01-17 Behdad Esfahbod Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY diff --git a/NEWS b/NEWS index ffce1bbf..c7d9b936 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,112 @@ +Overview of changes between 1.15.3 and 1.15.4 +============================================== +General: +- Finish vertical text support. +- Fix various bugs that could cause ellipsization to stop prematurely. +- Fix rendering of background color being off in presence of rise attribute. +- Improved text-on-path example (examples/cairotwisted.c) + +Win32 Improvements: +- Don't check for X and don't warn about missing fontconfig. [Tor Lillqvist] +- Automatically use -mms-bitfields on Windows when building with gcc. [Tor] +- Update makefile.msv. [Hans Breuer] + +Code base cleanups: +- Whitespace cleanups. Hopefully patches still apply using patch -l +- Replace C++-style // comments with C-style /* */ ones. +- Move the pango-view tool from examples/ into pango-view/. The examples/ + dir is still available and for simple examples only. + +Public API changes: + +- New PangoLayout query functions: + + pango_layout_is_wrapped() + pango_layout_is_ellipsized() + pango_layout_get_unknown_glyphs_count() + + The is_wrapped and is_ellipsized functions return whether the layout + had to wrap/ellipsize any paragraphs, as opposed to the get_wrap and + get_ellipsize that return the wrap/ellipsize mode set. + +- Misc new function: + pango_parse_enum() + + This is more a convenience function for internal use, but set public + to go with other pango_parse_* functions. Bindings should feel free + to ignore this. + + +- New header files: + + Moved gravity and matrix stuff into their own header files pango-gravity.h + and pango-matrix.h. Both are included from pango-types.h. + +- Vertical text: + + New attribute types: + + PANGO_ATTR_GRAVITY + PANGO_ATTR_GRAVITY_HINT. + + New enum type: + + PangoGravityHint + + New macro: + + PANGO_GRAVITY_IS_VERTICAL() + + New public functions: + + pango_attr_gravity_new() + pango_attr_gravity_hint_new() + pango_gravity_hint_get_type + pango_context_set_gravity_hint() + pango_context_get_gravity_hint() + pango_gravity_get_for_matrix() + pango_gravity_get_for_script() + + Removed: + pango_matrix_to_gravity() + + replaced by pango_gravity_get_for_matrix() + + Gravity API added in previous releases: + + PangoGravity + pango_gravity_get_type + pango_context_get_base_gravity + pango_context_get_gravity + pango_context_set_base_gravity + pango_font_description_get_gravity + pango_font_description_set_gravity + pango_gravity_to_rotation + + A tip on using the vertical text support: If you just want to get correct + behavior in rotated labels (say, vertical Chinese/Japanese, but rotated + Latin, etc), all you need to do is to set the context gravity to + PANGO_GRAVITY_AUTO. You can do this for example + + #if defined(PANGO_VERSION_CHECK) && PANGO_VERSION_CHECK(1,15,4) + pango_context_set_gravity (context, PANGO_GRAVITY_AUTO); + #endif + +Bugs fixed in this release: + Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY + Bug 397337 – Use is_ellipsized and is_wrapped to optimize property + changes + Bug 328585 – Need to know if a layout has unknown glyphs + Patch from LingNing Zhang + Bug 326693 – PangoLayouts should be query-able about their + effective properties (width / wrapped / ellipsized / etc) + Bug 397327 – pango-layout.c: 'pango_layout_is_ellipsized' must return + a value + Bug 323173 – Add layout of mixed direction text for vertical layout + Bug 394453 – Use -mms-bitfields + Bug 392628 – Don't check for X on win32 + + Overview of changes between 1.15.2 and 1.15.3 ============================================== - Fix Hangul crasher and other Hangul bugs introduced in 1.15.2 diff --git a/configure.in b/configure.in index 50d12545..244a88fc 100644 --- a/configure.in +++ b/configure.in @@ -22,7 +22,7 @@ dnl dnl The triplet m4_define([pango_version_major], [1]) m4_define([pango_version_minor], [15]) -m4_define([pango_version_micro], [3]) +m4_define([pango_version_micro], [4]) m4_define([pango_version], [pango_version_major.pango_version_minor.pango_version_micro]) dnl The X.Y in -lpango-X.Y line. This is expected to stay 1.0 until Pango 2. -- cgit v1.2.1