2008-02-25 Behdad Esfahbod * === Released 1.19.4 === * configure.in: Version 1.19.4 * NEWS: Updated. 2008-02-25 Behdad Esfahbod Bug 511172 – pango_layout_set_height() with positive height always shows at least two lines * pango/pango-layout.c (should_ellipsize_current_line), (pango_layout_check_lines), (pango_layout_get_empty_extents_at_index), (pango_layout_line_get_empty_extents): Initialize line_height using empty-line extents. 2008-02-25 Tor Lillqvist Bug 515484 – Uniscribe interface handles surrogate pairs incorrectly * modules/basic/basic-win32.c (itemize_shape_and_place): Pass correctly offset wchar string to set_up_pango_log_clusters() so that when it passes the string on to unichar_index(), that function notices the surrogate pairs correctly. 2008-02-24 Tor Lillqvist Bug 515484 – Pango on Windows is missing Type 1 font support Patch from Adrian Johnson. * pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field that tells whether the font has a cmap or not. A Type 1 font doesn't. * pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New static function. Uses GetGlyphIndicesW() to get the glyph indices for Type 1 fonts. Possibly also TrueType fonts that for some reason lack the cmap formats we understand. (pango_win32_font_calc_type1_coverage): New static function. Uses GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and possibly TrueType fonts that lack the cmap formats we understand. (pango_win32_font_get_glyph_index): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_get_type1_glyph_index() in that case. (pango_win32_font_calc_coverage): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_calc_type1_coverage() in that case. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also Type 1 fonts. (pango_win32_insert_font): Initialise has_cmap tentativaly to True. 2008-02-21 Kristian Rietveld * modules/basic/basic-atsui.c (basic_engine_shape): free the ATSU style and utf16 string at the end. 2008-02-17 Behdad Esfahbod Bug 517083 – pango modules: wrong fallback adding code? * pango/modules.c (map_add_engine): Fix typo. 2008-02-17 Behdad Esfahbod * pango/pango-layout.c: Improve docs. 2008-02-15 Behdad Esfahbod * pango/pango-layout.c: Improve docs. 2008-02-14 Tor Lillqvist Bug 515484 – Pango on Windows is missing non-TrueType font support Patch from Adrian Johnson. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also OpenType/PS fonts. Interpret the metrics parameter as a NEWTEXTMETRICW struct and check the ntmFlags field. 2008-02-13 Sven Neumann * pango/pangoft2.c: indentation. 2008-02-09 Dominic Lachowicz Bug 515484 – Variable is initialized twice * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): Variable was initialized twice. 2008-02-08 Behdad Esfahbod Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not rendered correctly Patch from Praveen A * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): "Fix" it. 2008-01-29 Behdad Esfahbod * configure.in: Oops. Add fontconfig cflags/libs with freetype's. 2008-01-29 Behdad Esfahbod Bug 496244 – Don't use freetype-config, use pkg-config * configure.in: Don't use freetype-config. Also cleanup lots of old stale macros around configure.in. * pango-uninstalled.pc.in: * pango.pc.in: * pangocairo-uninstalled.pc.in: * pangocairo.pc.in: * pangoft2-uninstalled.pc.in: * pangoft2.pc.in: * pangowin32.pc.in: * pangox-uninstalled.pc.in: * pangox.pc.in: * pangoxft-uninstalled.pc.in: * pangoxft.pc.in: And cleaned up all the pkg-config files as a result. 2008-01-28 Behdad Esfahbod Bug 512566 – dont' use deprecated macro Patch from Christian Persch * tests/test-ot-tags.c: * tests/testscript.c: Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC 2008-01-28 Wouter Bolsterlee Bug 512473 – [patch] gtk-doc warnings * pango/pango-context.c: * pango/pango-fontmap.c: * pango/pango-utils.c: * pango/pangofc-fontmap.h: * pango/pangox.c: * pango/reorder-items.c: Fixed gtk-doc warnings.