2006-01-30 Behdad Esfahbod * === Released 1.11.3 === * configure.in: Version 1.11.3 * NEWS: Updated. 2006-01-30 Behdad Esfahbod * pango/shape.c (pango_shape): * pango/fonts.c (pango_font_get_glyph_extents): * pango/pangocairo-font.c (_pango_cairo_font_install): Improve error handling in high-frequency functions: Only warn once. * pango-impl-utils.h, pangoutils.h: * pangocairo-private.h, pangocairo-font.c: Add machinery for above: _pango_warning_history and _pango_cairo_warning_history. 2006-01-30 Behdad Esfahbod Bug 328314 – Examples should use GOption instead of argcontext.c Patch from Antoine Dopffer. * examples/renderdemo.c: Use GOption for parsing cmd-line options. * examples/argcontext.c, examples/argcontext.h: Removed. 2006-01-30 Behdad Esfahbod * pango/opentype/ftxgsub.c: Handle GSUB Lookup type 8, and ReverseChainContextualSubst table. (bug #149696, patch from Aamir Wali) 2006-01-29 Behdad Esfahbod * modules/arabic/arabic-fc.c, modules/basic/basic-fc.c modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c modules/thai/thai-ot.c, modules/thai/thai-shaper.c modules/tibetan/tibetan-fc.c: If locking font face failed, do not assert, just return zero glyphs with an implicit warning. * pango/fonts.c, pango/glyphstring.c pango/modules.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontmap.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-markup.c pango/pango-ot-buffer.c, pango/pango-script.c pango/pango-tabs.c, pango/pango-utils.c pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangocairo-win32font.c, pango/pangofc-font.c pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c pango/pangoft2-render.c, pango/pangoft2.c pango/pangowin32-fontcache.c, pango/pangoxft-font.c pango/pangoxft-render.c, pango/break.c pango/ellipsize.c: Use g_slice for allocating all types. Also, change some g_error's to g_critical's... 2006-01-29 Behdad Esfahbod Do not crash if the (win32 typically) shaper fails. Bug #304702: * pango/pango-engine.c (_pango_engine_shape_shape): Set num_glyphs to zero if failing. * pango/pango-shape.c (pango_shape): Instead of crashing if the shaper failed to produce any glyphs, print out a warning message containing the name of the font, and mark the font such that we don't keep printing warning for the same font. Moreover, inject one whitespace glyph per character, so you just see nothing, but everything works otherwise. 2006-01-28 Behdad Esfahbod * .cvsusers: Removed. 2006-01-28 Behdad Esfahbod * doc/tmpl/opentype.sgml: Document PangoOTBuffer and PangoOTGlyph. * pango/pango-ot-buffer.c, pango/pango-ot-info.c, pango/pango-ot-ruleset.c: Document remaining symbols. 2006-01-28 Behdad Esfahbod * pango/opentype/pango-ot-*: Removed. * pango/pango-ot-*: Added. * pango/Makefile.am, pango/opentype/Makefile.am, doc/Makefile.am: Adjusted. 2006-01-28 Behdad Esfahbod * pango/pangofc-font.h, pango/pangoft2-render.c, pango/pangowin32.c, pango/pangoxft-render.c, docs/tmpl/xft-fonts.sgml, docs/tmp/atsui-fonts.sgml: Documentation improvements. 2006-01-28 Behdad Esfahbod * configure.in: Use AC_HELP_STRING everywhere. Bump required version to 2.56. * doc/tmpl/pango-renderer.sgml (PANGO_TYPE_RENDER_PART): Document it. 2006-01-27 Behdad Esfahbod * modules/Makefile.am: Remove pango.modules on uninstall. (bug #328869) * pango/pango-fontmap.c, pango/pangocairo-*font.c: Better error messages. 2006-01-26 Behdad Esfahbod * pango/pangoatsui-fontmap.c: #include . (bug #328632) 2006-01-26 Behdad Esfahbod * pango/modules.h, pango/Makefile.am: Fix more ATSUI stuff in build infrastructure. Sigh... (bug #328632) 2006-01-25 Behdad Esfahbod * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED. 2006-01-25 Behdad Esfahbod * pango/pangoatsui-fontmap.c (pango_atsui_family_class_init): Declare int i! (bug #328632) 2006-01-24 Behdad Esfahbod * pango/pangolayout.c (pango_layout_get_width): Improve docs to say it may return -1. 2006-01-24 Behdad Esfahbod * pango/pangocairo-atsuifont.c: Change cwfont to cafont in a couple places. 2006-01-24 Behdad Esfahbod * modules/indic/pango-indic-script.h: Removed, not used for quite a while. 2006-01-24 Behdad Esfahbod * examples/pangoft2.aliases: Removed based on an old ChangeLog entry saying: Remove pangoft2.aliases from CVS/distribution; it is no longer used. (#82736, Sven Neumann.) 2006-01-23 Behdad Esfahbod Make tests/examples do use generated pango.modules. (bug #328291) * examples/pangorc, tests/pangorc: Removed. Moved to modules/. * examples/pangox.aliases: Removed. Moved to pango/. * examples/Makefile.am, tests/Makefile.am: Remove pango.modules creation stuff, copy pangorc from $(srcdir)/../modules/pangorc insteadd. * examples/renderdemo.c: Add --pangorc option, default to ./pangorc. Setenv PANGO_RC_FILE to whatever pangorc file decided. * tests/*.c: Setenv PANGO_RC_FILE to ./pangorc. * pango/pangox.aliases: Added. * pango/Makefile.am: Install pangox.aliases. * modules/pangorc: Added. * modules/Makefile.am: Create pango.modules. Added pangorc. * modules/.cvsignore, examples/.cvsignore, tests/.cvsignore: Updated. 2006-01-23 Behdad Esfahbod * modules/basic/basic-fc.c: Set cluster only on base chars, like the Arabic module does. * modules/indic/indic-fc.c: Draw an unknown glyph on missing glyphs, like other modules do. (part of bug #326960, LingNing Zhang) 2006-01-22 Behdad Esfahbod * docs/TEXT/coding-style: Added "Since:" in the doc example. 2006-01-22 Behdad Esfahbod * TODO: Removed old file. Filed some bugs out of it. * TODO.xml: Removed old file. Filed some bugs out of it. * Makefile.am (EXTRA_DIST): Removed TODO.xml. 2006-01-21 Behdad Esfahbod * MAINTAINERS: Added. * AUTHORS: Added myself to contributors. * Makefile.am: Added MAINTAINERS to EXTRA_DIST. 2006-01-21 Behdad Esfahbod * pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options): Fix typo in docs. 2006-01-21 Behdad Esfahbod * pango/pango-utils.c (pango_matrix_get_font_scale_factor): Fix docs. 2006-01-21 Behdad Esfahbod * pango/pango-types.h, pango/pango-utils.c (pango_matrix_get_font_scale_factor): Make matrix parameter const. * pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c, pango/pango-types.h, pango/pango-utils.c, pango/pangocairo-atsuifont.c, pango/pangofc-font.c, pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c: Replace "Returns:" with "Return value:" in docs. 2006-01-21 Behdad Esfahbod Finish ATSUI module work. Bug #322022, Matthias Clasen. * docs/tmpl/atsui-fonts.sgml: Added. * docs/pango-docs.sgml: Updated to reflect above change. * docs/pango-sections.txt: Updated to reflect above change and also document Standard ATSUI symbols. * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_atsu_font_id): Add docs. * pango/pangoatsui-fontmap.c: Register included ATSUI modules. 2006-01-20 Behdad Esfahbod * examples/cairosimple.c: Small fixes. 2006-01-20 Behdad Esfahbod * pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Add a comment about using cairo_scaled_font_text_extents instead of cairo_text_extents.