2006-05-26 Behdad Esfahbod * === Released 1.12.3 === * configure.in: Version 1.12.3 * NEWS: Updated. 2006-05-23 Tor Lillqvist * pango/fonts.c (find_field): Fix crash, don't dereference NULL. 2006-05-23 Tor Lillqvist * pango/pangowin32.c (pango_win32_font_describe): Call pango_font_description_set_absolute_size() instead of pango_font_description_set_size() as the PangoWin32Font::size is in pixels, not points. There has been several bugs opened around this issue, with more or less misleading guesses. See for instance #314114. Thanks to Behdad for finally noticing the real problem here. 2006-05-22 Behdad Esfahbod Bug 342525 – With PangoFc and PangoWin32, approximate digit width is not what it says * pango/pangocairo-win32font.c (max_glyph_width), (create_metrics_for_context): Use max digit width instead of average. Reverted the following changes: * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate average digit width correctly, not as max of the digit widths. (#342525) Note that this code doesn't really get much used currently (instead the code in pangocairo-win32font.c is used), fixed only for completeness. (max_glpyh_with): Now unused, drop. 2006-05-22 Behdad Esfahbod Bug 339730 – Pango needlessly falls back away from a Type 1 font into a TTF font * pango/fonts.c (find_field): Fix strncmp usage. 2006-05-22 Behdad Esfahbod Bug 341922 – pango should handle more characters as zero width Patch from Roozbeh Pournader * pango/pango-utils.c (pango_is_zero_width): Handle the following too: U+00AD SOFT HYPHEN U+034F COMBINING GRAPHEME JOINER U+2060 WORD JOINER U+2061 FUNCTION APPLICATION U+2062 INVISIBLE TIMES U+2063 INVISIBLE SEPARATOR 2006-05-22 Tor Lillqvist * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate average digit width correctly, not as max of the digit widths. (#342525) Note that this code doesn't really get much used currently (instead the code in pangocairo-win32font.c is used), fixed only for completeness. (max_glpyh_with): Now unused, drop. 2006-04-29 Behdad Esfahbod * docs/tmpl/atsui-fonts.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: * docs/tmpl/pango-renderer.sgml: * docs/tmpl/pangocairo.sgml: * docs/tmpl/pangofc-decoder.sgml: * docs/tmpl/pangofc-font.sgml: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/scripts.sgml: * docs/tmpl/tab-stops.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/win32-fonts.sgml: * docs/tmpl/x-fonts.sgml: * docs/tmpl/xft-fonts.sgml: * examples/Makefile.am: * pango/modules.c: * pango/pango-coverage.c: Update docs. 2006-04-29 Behdad Esfahbod * docs/tmpl/atsui-fonts.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: * docs/tmpl/pango-renderer.sgml: * docs/tmpl/pangocairo.sgml: * docs/tmpl/pangofc-decoder.sgml: * docs/tmpl/pangofc-font.sgml: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/scripts.sgml: * docs/tmpl/tab-stops.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/win32-fonts.sgml: * docs/tmpl/x-fonts.sgml: * docs/tmpl/xft-fonts.sgml: * examples/Makefile.am: * pango/modules.c: * pango/pango-coverage.c: 2006-04-29 Behdad Esfahbod Bug 337594 – pango_glyph_string_extents_range possible bug * pango/glyphstring.c (pango_glyph_string_extents_range): Add offset for first glyph too. 2006-04-29 Behdad Esfahbod Bug 307196 – Unhinted fonts are measured incorrectly and drawing problems occur as a result * pango/pangofc-font.c (get_face_metrics), (pango_fc_font_get_raw_extents): * pango/pangoxft-font.c (_pango_xft_font_new): Rollback previous change that forced metrics hinting always on. * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Set fcfont metrics hinting based on cairo font options. 2006-04-28 Behdad Esfahbod * pango/pangofc-font.c (get_face_metrics), (pango_fc_font_get_raw_extents): Don't use is_hinted. Metrics are always hinted now. * pango/pangoxft-font.c (_pango_xft_font_new): Remove hack that forced is_hinted to TRUE. 2006-04-27 Behdad Esfahbod * pangocairo.pc.in, pangocairo-uninstalled.pc.in: Remove CAIRO_CFLAGS from Cflags, as we Require cairo already. 2006-04-27 Behdad Esfahbod * pango/pango-impl-utils.h: * pango/fonts.c (pango_font_get_glyph_extents), (pango_font_get_metrics), (pango_font_get_font_map): * pango/pangocairo-render.c (pango_cairo_show_glyph_string), (pango_cairo_glyph_string_path): Add more warning_history items and handle more font failures, to make sure that instead of crashing, gedit runs and draws empty boxes when pango.modules is not set properly.