2008-01-21 Behdad Esfahbod * === Released 1.19.3 === * configure.in: Version 1.19.3 * NEWS: Updated. 2008-01-21 Behdad Esfahbod * pango/pango-layout.c (pango_layout_set_height()): Mark behavior as undefined if height is not -1 and ellipsize mode is PANGO_ELLIPSIZE_NONE. 2008-01-21 Behdad Esfahbod Bug 508002 – change pango_layout_pixel_extents() to round logical rect to be inclusive * pango/pango-layout.c (pango_layout_get_pixel_extents), (pango_layout_line_get_pixel_extents): Round extents to pixels inclusively. That is, pass both ink_rect and logical_rect as first argument to pango_extents_to_pixels(). * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle): Fix rounding. * pango/pango-types.h: * docs/tmpl/glyphs.sgml: * pango/pango-utils.c (pango_extents_to_pixels): Rename pango_extents_to_pixels() function arguments from @ink_rect and @logical_rect to @inclusive and @nearest. Given that this API is a fairly new addition and not commonly used, language bindings are encouraged to update their argument names accordingly. Moreover, they are encouraged to wrap this function as two different calls: extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or similar conventions that best reflect their native language. 2008-01-16 Behdad Esfahbod * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that are no longer there. 2008-01-15 Behdad Esfahbod * pango/opentype/*: HarfBuzz was relicensed to a more generous and simpler license. Adapt. See pango/opentype/COPYING for the new license which is LGPL-compatible. 2008-01-15 Behdad Esfahbod * pango/pango-layout.c (debug), (process_line), (pango_layout_line_postprocess): Minor cleanup. 2008-01-15 Behdad Esfahbod Bug 469313 – Add pango_layout_set_height() * pango/pango-layout.c (get_x_offset), (should_ellipsize_current_line), (add_line), (process_line), (pango_layout_check_lines), (pango_layout_line_get_width), (pango_layout_line_get_x_ranges), (justify_words), (pango_layout_line_postprocess): Implement height >= 0; There are still bugs left. Most notably, there will be at least two lines showed no matter how small height is. 2008-01-14 Behdad Esfahbod Bug 469313 – Add pango_layout_set_height() * pango/pango-layout.h: * pango/pango-layout-private.h: * pango/pango-layout.c: * pango/ellipsize.c (_pango_layout_line_ellipsize): New public API: pango_layout_set_height() See docs for semantics. Currently only negative height values (number of lines) is implemented. * pango-view/viewer-render.c (make_layout), (output_body), (parse_options): Implement --height. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/layout.sgml: Update. 2008-01-14 Behdad Esfahbod Bug 508179 – PangoGlyphUnit confusion * pango/pangowin32.c: * pango/glyphstring.c: * pango/pango-layout.c (process_item): Remove all traces of #PangoGlyphUnit 2008-01-08 Behdad Esfahbod Bug 508381 – indent and center alignment don't mix * pango/pango-layout.c: Ignore indent if aligned center, and document so. This assumption was present in some places and not the others. Fixed now. 2008-01-08 Behdad Esfahbod Bug 508007 – Add option for single-paragraph mode to pango-view * pango-view/viewer-render.c (make_layout), (parse_options): Add --single-par option to pango-view. 2008-01-08 Behdad Esfahbod * pango/pango-layout.c (ensure_tab_width), (process_line), (pango_layout_get_effective_attributes), (pango_layout_check_lines): Minor cleanup. Attributes are initialized with start/end_index to apply to entire text now, no need to initialize them explicitly anymore. 2007-12-29 Behdad Esfahbod Bug 506284 – docs typo for pango_coverage_unref Patch from Christian Persch * pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs. 2007-12-21 Behdad Esfahbod * docs/Makefile.am: Check for dummy man pages in dist-local. 2007-12-21 Behdad Esfahbod Bug 504802 – build failure: No rule to make target `pango-querymodules.1', needed by `all-am'. Stop. * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't exsits (SVN checkout) and --enable-man is not used. 2007-12-19 Behdad Esfahbod Bug 504585 – pango-querymodules.1 syntax error * Makefile.am: * docs/Makefile.am: * docs/pango-querymodules.1: Fix man-page generation rule, also remove pango-querymodules.1 from SVN so it's regenerated from XML at dist time. 2007-12-19 Behdad Esfahbod Red Hat Bug 426178: gtkdoc-scan fails on pango * docs/pango-sections.txt: * pango/pango-ot-private.h: * pango/pango-ot.h: Make the following symbols available to engines: PANGO_IS_OT_INFO PANGO_IS_OT_RULESET PANGO_OT_INFO PANGO_OT_RULESET PANGO_TYPE_OT_INFO PANGO_TYPE_OT_RULESET pango_ot_info_get_type pango_ot_ruleset_get_type