2005-12-12 Behdad Esfahbod * === Released 1.11.1 === * configure.in: Version 1.11.1 * NEWS: Updated. 2005-12-12 Behdad Esfahbod * pango/Makefile.am: Handle module-defs-atsui.c. 2005-12-12 Behdad Esfahbod Fix bug #323540. * pangofc-fontmap.c (get_scaled_size): The logic in there is moved and renamed into pango-utils. * pango/pango-types.h, * pango/pango-utils.c (pango_matrix_get_font_scale_factor): New function. * pango/pangocairo-fcfont.c (get_font_size): Divide pixel-size by matrix font-scale-factor, since pixel-size is scaled. 2005-12-11 Behdad Esfahbod * configure.in: Undo last change. 2.9.1 has the revised g_slice_free_chain api and 2.9.2 is not released yet! 2005-12-10 Behdad Esfahbod * configure.in: Bump required glib version to 2.9.2 now that it's released. We are relying on the revised g_slice_free_chain api. 2005-12-10 Behdad Esfahbod * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): Update on missing-box drawing change. Add (!glyph) to the conditional. 2005-12-08 Behdad Esfahbod * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Free ->fontset_hash. (#323498, Morten Welinder) 2005-12-05 Behdad Esfahbod * pango/pangocairo-fcfont.c, pango/pangocairo-private.h, pango/pangocairo-render.c: Draw an empty dashed box on missing glyphs for cairo-fc backend. 2005-12-05 Behdad Esfahbod * pango/mini-fribidi/fribidi.c, pango/mini-fribidi/fribidi_config.h, pango/mini-fribidi/fribidi.patch: Use new g_slice API for TypeLink allocation, instead of GMemChunks. * configure.in: Bump required glib version to 2.9.1. 2005-12-04 Behdad Esfahbod * modules/basic/basic-fc.c: Return NULL, not FALSE! * modules/arabic-arabic-fc.c: Add 'cswh' (swash) OpenType feature, as per the Arabic OpenType spec. 2005-11-30 Behdad Esfahbod * examples/Makefile.am: Add GLIB_LIBS to examples explicitly. (#322885, Manish Singh) 2005-11-29 Behdad Esfahbod * pango/pangocairo-fcfont.c: Add a constact fixed-size (256) cache for caching glyph extents, instead of the growing g_hash_table. The cache itself is very similar to the recent gunichar->glyph cache done by Federico. Reviewed by Matthias Clasen. 2005-11-24 Matthias Clasen * pango/pango-layout.c: Fix a typo. 2005-11-23 Behdad Esfahbod * pango/mapping.c (pango_glyph_string_index_to_x), pango/pango-layout.c (pango_layout_iter_get_char_extents): Remove cast to double in things like a = b / c where a, b, and c are all ints. (#312469, Sven Neumann) 2005-11-23 Behdad Esfahbod * pango/opentyp/pango-ot-buffer.c: Fix typo in docs. 2005-11-23 Behdad Esfahbod * pango/querymodules.c: Tiny clean up. Simpler way to suppress gcc strict-aliasing warning. (part of #123307) 2005-11-23 Behdad Esfahbod * pango/fonts.c pango/pango-attributes.c pango/pango-context.c pango/pango-glyph-item.c pango/pango-layout.c pango/pango-script.c pango/pango-utils.c pango/pangofc-font.c pango/pangoft2-fontmap.c pango/opentype/pango-ot-buffer.c pango/opentype/pango-ot-ruleset.c: Added "Since:" tags to all interfaces added after Pango 1.0. (#319116, Brian Cameron) 2005-11-23 Behdad Esfahbod * configure.in (enable_explicit_deps): Fix typo when checking libtool config deplibs_check_method. Moreover, enable explicit deps if we get anything other than pass_all from libtool. (part of #318750) 2005-11-23 Behdad Esfahbod * pango/Makefile.am: Link libpangoxft with -lm. (#318210) 2005-11-23 Behdad Esfahbod * pango/querymodules.c: Free used memory. (#316467, Steve Grubb) 2005-11-23 Behdad Esfahbod * modules/hangul/hangul-fc.c (hangul_engine_shape): Fix incorrect bounds check. (#316469, Steve Grubb) Moreover, increase max_jamos eight at a time instead of three. 2005-11-23 Behdad Esfahbod Protect against possible division by zeros. (#316468, Steve Grubb) * pango/pango-context.c (update_metrics_from_items), pango/pango-fontset.c (pango_fontset_real_get_metrics): If count is zero, do not alter approximate_{char,digit}_width. * pango/opentype/disasm.c: Err on invalid DeltaFormat. 2005-11-23 Behdad Esfahbod * pango/fonts.c (pango_font_description_get_absolute_size): Remove excess "the" in docs. (#319175, Masao Mutoh) 2005-11-23 Behdad Esfahbod * modules/basic/basic-fc.c: Reworked basic shaper with OpenType support. (#101079, based on patch from Denis Jacquerye and Noah Levitt) * modules/basic/basic-fc.c (basic_scripts): Added Unicode 4.1 addition script PANGO_SCRIPT_GLAGOLITIC that is a "simple" script. * modules/arabic/arabic-fc.c, modules/syriac/syriac-fc.c: Replace g_utf8_to_ucs4_fast() with g_utf8_strlen()! * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_add_feature): Remove reference in docs to pango_ot_ruleset_shape() that was removed long ago. 2005-11-22 Behdad Esfahbod * pango/pangofc-font.c: Finish previous patch. Use GType private data, cache it into fcfont->priv. Get rid of PANGO_FC_FONT_GET_PRIVATE (fcfont) and access fcfont->priv. (#322174, Christian Persch) * pango/pangofc-fontmap.c (pango_fc_font_map_init): Remove redundant priv = fcfontmap->priv initialization. 2005-11-22 Federico Mena Quintero Fixes #322174: * pango/pangofc-font.h (struct _PangoFcFont): Replace the "gpointer context_key" field with "gpointer priv". This way we can access the private data quickly, instead of using g_type_instance_get_private(). * pango/pangofc-private.h: Added prototypes for _pango_fc_font_{get,set}_context_key(). * pango/pangofc-font.c (struct _PangoFcFontPrivate): Moved the "context_key" field to here. (PANGO_FC_FONT_GET_PRIVATE): Use the "priv" field instead of GType private data. (pango_fc_font_class_init): Don't register GType private data. (pango_fc_font_init): Initialize the private data here. (pango_fc_font_finalize): Free the private data. (_pango_fc_font_get_context_key): Implement. (_pango_fc_font_set_context_key): Implement. (pango_fc_font_get_glyph): Remove the g_return_val_if_fail(); it was appearing quite high in the profile. * pango/pangofc-fontmap.c (pango_fc_font_map_add): Call _pango_fc_font_set_context_key() instead of setting the fcfont->context_key directly. (_pango_fc_font_map_remove): Likewise; also use _pango_fc_font_get_context_key() instead of accessing the field directly. 2005-11-22 Behdad Esfahbod * pango/pangoxft-font.c (_pango_xft_font_get_mini_font): Load a font suitable for viewing English text when creating mini font for hex boxes. (#312477) 2005-11-21 Anders Carlsson * configure.in: Add checks for ATSUI. * examples/Makefile.am: Only build pango-cairoview if freetype is detected. * modules/basic/Makefile.am: Add basic ATSUI module. * pango/Makefile.am: Add ATSUI files for cairo backend. * pango/pangocairo-fontmap.c (pango_cairo_font_map_new): Support creating ATSUI font maps here. * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: * pango/pangocairo-atsuifontmap.c: Added. 2005-11-21 Behdad Esfahbod * pango/pango-script.c (pango_script_for_unichar_bsearch): Only update static mid on a match. 2005-11-21 Behdad Esfahbod * pango/pangofc-fontmap.c (get_scaled_size): Return double instead of int. (#321891, Sebastien Bacher) 2005-11-21 Behdad Esfahbod * examples/GLASS.utf8: Make the Kermit notice a "no warranty" clause, to comply with LPGL.