2008-12-15 Behdad Esfahbod * === Released 1.22.4 === * configure.in: Version 1.22.4 * NEWS: Updated. 2008-12-15 Behdad Esfahbod Bug 564644 – Not complete description of the pango_font_description_better_match function * pango/fonts.c: Improve docs even more. 2008-12-15 Behdad Esfahbod Bug 564644 – Not complete description of the pango_font_description_better_match function * pango/fonts.c: Improve docs. 2008-12-14 Behdad Esfahbod Bug 563898 – Generated output is not deterministic * docs/pango-querymodules.xml: * docs/pango_markup.sgml: Add section ids, such that generated HTML is deterministic. 2008-12-09 Behdad Esfahbod * pango/pangoxft-font.c (pango_xft_font_init), (load_fallback_font): Don't call exit(). Let us crash. 2008-12-09 Behdad Esfahbod Bug 563803 – pango_renderer_finalize fails to call parent finalize * pango/pango-renderer.c (pango_renderer_class_init), (pango_renderer_finalize): Call parent finalize. * pango/pango-renderer.c (add_strikethrough), (pango_renderer_default_draw_glyph_item), (pango_renderer_default_draw_error_underline): Clean up a bit. 2008-12-07 Behdad Esfahbod Bug 499626 – Space should be optional after comma in PangoFontDescription input string * pango/fonts.c (getword): Don't require space after comma. 2008-12-07 Behdad Esfahbod Bug 499624 – Spaces around commas in PangoFontDescription family name should be trimmed * pango/fonts.c (pango_font_description_from_string): * pango/pangofc-fontmap.c (pango_fc_make_pattern): Do it in pango_font_description_from_string() instead of pangofc backend. 2008-12-07 Behdad Esfahbod Bug 499624 – Spaces around commas in PangoFontDescription family name should be trimmed * pango/pangofc-fontmap.c (pango_fc_make_pattern): Trim family strings before adding to pattern. 2008-12-07 Behdad Esfahbod Bug 563557 – set g_get_prgname() in fc pattern * docs/pango-sections.txt: * pango/pangofc-fontmap.c (pango_fc_make_pattern): * pango/pangofc-fontmap.h: Add PANGO_FC_PRGNAME which is the fontconfig element "pangoprgname". Populate it on all our fontconfig search patterns using g_get_prgname(). See bug for sample use. 2008-12-07 Behdad Esfahbod * pango/pango-engine.h: Add G_MODULE_EXPORT annotation for modules. 2008-12-07 Behdad Esfahbod * pango/pango-context.c (pango_context_get_metrics): Fix docs re NULL language. Also allow NULL desc. 2008-12-06 Behdad Esfahbod * pango/pangocairo-font.c (_pango_cairo_font_private_get_scaled_font): Add more debug info if creating scaled font failed. 2008-12-05 Behdad Esfahbod Bug 563356 – The input area of firefox and the blank width after text in gnome-menu was stretched too wide, under pango-1.22.3 * docs/tmpl/fonts.sgml: * pango/pango-impl-utils.h: * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_create_metrics_for_context): * pango/pangocairo-win32font.c (pango_cairo_win32_font_create_metrics_for_context): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): For approximate_char_width calculation take each char's width into account. That is, do a weighted average instead of uniform average. g_unichar_iszerowidth() chars count as 0, g_unichar_iswide() chars count 2, and the rest count as 1. Pretty much wcwidth() behavior. See bug report for rationale. 2008-11-28 Behdad Esfahbod Bug 562574 – Pangocariowin32 is leaking every cairo font it ever creates * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_finalize): * pango/pangocairo-win32font.c (pango_cairo_win32_font_finalize): Finalize shared pangocairo font resources. Oops! * pango/pangocairo-font.c (_pango_cairo_font_private_finalize): Protect against multiple calls to finalize. This is practiced by the pangocairo-fcfont when a font is shutdown and then finalized. 2008-11-26 Behdad Esfahbod * examples/cairotwisted.c (parametrize_path), (point_on_path): Handle close_path correctly.