2007-04-03 Behdad Esfahbod * pango/opentype/harfbuzz-gdef.c (_HB_GDEF_Check_Property): * pango/opentype/harfbuzz-gpos.c (HB_Done_GPOS_Table), (Lookup_PairPos): * pango/opentype/harfbuzz-open.c (Get_Class1): Copy fixes from harfbuzz stable branch. Includes a leak fix, a kerning fix, and an array out-of-bound access fix. 2007-03-03 Behdad Esfahbod Bug 414297 – Fails to build with --enable-static --with-included-modules in thai lang module Patch from Loïc Minier * modules/thai/Makefile.am: Include LIBTHAI_LIBS in static module too. 2007-02-26 Tor Lillqvist * pango/pangowin32-fontmap.c: Fix brokenness in the code that tries to ensure that all fonts also have italic variants. Now the code hopefully actually does what it was supposed to. (Which is not necessarily the right thing to do, though. It can be argued that we should not list synthesized italic font styles, we should just silently generate them if asked for. We don't want synthesized italic (or synthesized bold) styles showing up in the font selector. They don't show up when using a fontconfig-based Pango backend either.) (#110521) (logfont_nosize_hash, logfont_nosize_equal): Don't use the lfItalic field as such, just its nonzeroness. When being enumerated, italic fonts show up with lfItalic=255, but our code looks up italic versions of fonts by passing a key LOGFONT with lfItalic=1. (first_match): Not needed any more, see below. (ensure_italic): This is now called on the entries in the size_infos hash table, not families. The code used to randomly look for the first matching font in size_infoswith the family name being handled. (pango_win32_font_map_init): Iterate through the size_infos hash table with ensure_italic, not through the families table. * pango/pangowin32-fontcache.c (logfont_hash, logfont_equal): Look at just nonzeroness of lfItalic here, too. 2007-02-13 Owen Taylor * pango/pangowin32-fontmap.c (pango_win32_insert_font): If something has gone wrong in setting the family of the font description, don't bother with the font as it isn't usable and will cause crashes later anyway. (#404295) 2007-01-31 Tor Lillqvist * pango/Makefile.am: Use pangocairo.def only on Win32, not Cygwin. (#402373, "paul") 2007-01-30 Tor Lillqvist * pango-zip.sh.in: Include also the COPYING file in the zipfiles. * Makefile.am (EXTRA_DIST): Include just pango-zip.sh.in in the tarball, not pango-zip.sh. 2007-01-29 Behdad Esfahbod * === Released 1.14.10 === * configure.in: Version 1.14.10 * NEWS: Updated. 2007-01-22 Behdad Esfahbod * pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster): Fix the "menu accels are two chars wide" bug that was introduced by the recent changes in this function, in 1.15.4. Apparently glyph_index means separate things in next_cluster and prev_cluster. 2007-01-17 Behdad Esfahbod Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY * modules/basic/basic-atsui.c (set_glyph): Handle kATSDeletedGlyphcode. 2007-01-16 Behdad Esfahbod * pango/ellipsize.c (get_cluster_width): Fix width calculation. Was causing ellipsization to stop at a zero-width glyph that was part of a bigger cluster. * pango/ellipsize.c (remove_one_span): Skip over zero-width clusters, otherwise ellipsization will stop at a zero-width cluster. * pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster), (_pango_glyph_item_iter_prev_cluster): Fix yet another bug with in prev_cluster that was making it not work for any interesting cluster. 2007-01-16 Behdad Esfahbod * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix background rendering being off in presence of rise attributes. 2007-01-15 Tor Lillqvist * configure.in: Don't check for X and don't warn about missing fontconfig on Win32. (#392628, Yevgen Muntyan) 2007-01-15 Tor Lillqvist * configure.in: Automatically use -mms-bitfields on Windows when building with gcc. (#394453) 2007-01-07 Behdad Esfahbod * docs/tmpl/engines.sgml: * docs/tmpl/fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-renderer.sgml: * docs/tmpl/pangofc-font.sgml: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/win32-fonts.sgml: * docs/tmpl/x-fonts.sgml: * docs/tmpl/xft-fonts.sgml: * pango/ellipsize.c: * pango/fonts.c: * pango/glyphstring.c: * pango/modules.c: * pango/pango-attributes.c: * pango/pango-context.c: * pango/pango-context.h: * pango/pango-coverage.c: * pango/pango-glyph-item.c: * pango/pango-layout.c: * pango/pango-layout.h: * pango/pango-markup.c: * pango/pango-matrix.c: * pango/pango-ot-buffer.c: * pango/pango-ot-info.c: * pango/pango-ot-ruleset.c: * pango/pango-renderer.c: * pango/pango-script.c: * pango/pango-utils.c: * pango/pangoatsui-fontmap.c: * pango/pangocairo-fontmap.c: * pango/pangofc-font.c: * pango/pangofc-font.h: * pango/pangofc-fontmap.c: * pango/pangofc-fontmap.h: * pango/pangoft2-fontmap.c: * pango/pangoft2-render.c: * pango/pangoft2.c: * pango/pangowin32-fontcache.c: * pango/pangowin32-fontmap.c: * pango/pangowin32.c: * pango/pangox-fontmap.c: * pango/pangox.c: * pango/pangoxft-font.c: * pango/pangoxft-fontmap.c: * pango/pangoxft-render.c: * pango/reorder-items.c: Spell-check the docs. 2007-01-07 Tor Lillqvist * modules/basic/Makefile.am: Fix build on Win32 outside srcdir. (#392789, J. Ali Harlow) 2006-12-19 Behdad Esfahbod Bug 326099 – Setting width, indentation and ellipsizing doesn't work as I would expect * pango/ellipsize.c (_pango_layout_line_ellipsize): Account for indentation when deciding what width to ellipsize for. 2006-12-13 Behdad Esfahbod Bug 319808 – Patch to let pango support artifical italic, bold and bold italic styles for the fonts which don't have these styles. Patch from James Su * pango/pangofc-fontmap.c (pango_fc_face_describe), (create_face), (pango_fc_family_list_faces): Create fake Bold, Italic, and Bold Italic faces for fonts that do not have one. 2006-12-08 Behdad Esfahbod Red Hat Bug 211574: [hi/ml/si_LK] cursor naviation is wrong when using ZWJ (200d) Patch from LingNing Zhang * modules/indic/indic-lang.c (indic_engine_break): Handle cursor movement around ZWJ and ZWNJ. 2006-12-07 Behdad Esfahbod * === Released 1.14.9 === * configure.in: Version 1.14.9 * NEWS: Updated. 2006-12-07 Behdad Esfahbod Red Hat Bug 216424: [te_IN] pango - consonant + dependent vowel (ai) Composed char is not rendering properly Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Fix it! 2006-12-06 Behdad Esfahbod Red Hat Bug 216850: Issue in combination with vowels (ml_IN) Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Fix it! 2006-12-06 Behdad Esfahbod Bug 382437 – tests/testboundaries fails * configure.in: Require libthai >= 0.1.7 2006-12-04 Behdad Esfahbod * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame), (_pango_cairo_renderer_draw_box_glyph), (_pango_cairo_renderer_draw_unknown_glyph): Fix handling of boxes drawn in do_path mode. Previously we were doing one rectangle and stroke it if in show mode, and leave it alone if in path mode. That doesn't really work. Now we do two rectangles, for the outer and inner rects of the box border, but with different orientations, such that pango_cairo_layout_path(); cairo_fill(); works for hexboxes now. 2006-12-04 Behdad Esfahbod * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame), (_pango_cairo_renderer_draw_box_glyph), (_pango_cairo_renderer_draw_unknown_glyph): 2006-12-04 Behdad Esfahbod Red Hat Bug 211964: [ta] Rendering issue with Tamil Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (indic_ot_find_syllable): Handle 2 split matra. 2006-12-01 Behdad Esfahbod Red Hat Bug 213632: ZWJ (200d) and ZWNJ (200c) showing same output Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Handle ZWNJ. 2006-11-28 Behdad Esfahbod * pango/pangocairo-font.c (_pango_cairo_font_install), (_pango_cairo_font_get_font_face), (_pango_cairo_font_get_scaled_font): * pango/pangocairo-private.h: * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Revert two of the cast changes from last commit, to make sure the test-pangocairo-fontmap-mismatch test doesn't crash. 2006-11-28 Behdad Esfahbod * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_font_face), (pango_cairo_fc_font_install), (pango_cairo_fc_font_finalize), (pango_cairo_fc_font_get_metrics), (pango_cairo_fc_font_shutdown), (_pango_cairo_fc_font_new): * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_set_resolution), (pango_cairo_fc_font_map_get_resolution_cairo), (pango_cairo_fc_font_map_get_renderer), (pango_cairo_fc_font_map_finalize), (pango_cairo_fc_font_map_get_resolution_fc), (pango_cairo_fc_font_map_create_font): * pango/pangocairo-font.c (_pango_cairo_font_install), (_pango_cairo_font_get_font_face), (_pango_cairo_font_get_scaled_font), (_pango_cairo_font_get_hex_box_info): * pango/pangocairo-fontmap.c (pango_cairo_create_layout): * pango/pangocairo-render.c (set_color), (_pango_cairo_renderer_draw_unknown_glyph), (pango_cairo_renderer_draw_glyphs), (pango_cairo_renderer_draw_rectangle), (pango_cairo_renderer_draw_error_underline): Use simple, fast, casts instead of PANGO_CAIRO_*() macros where the object cannot have reached us if it wasn't of the right type. 2006-11-27 Behdad Esfahbod Bug 371388 – Add Thai langauage engine Patch from Theppitak Karoonboonyanan * configure.in: Look for libthai and enable thai-lang module. * modules/thai/Makefile.am: Hook thai-lang module. * modules/thai/thai-lang.c: New Thai language engine that uses libthai to do dictionary-based Thai line-breaking. * examples/test-thai.txt: Improved. 2006-11-25 Behdad Esfahbod * pango/pangocairo-render.c (acquire_renderer), (release_renderer), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Make renderer-cache really thread-safe this time. Last try was not quite thread-safe theoretically, because pointer assignments are not necessarily atomic on some archs. Anyway, this one should do it. 2006-11-22 Behdad Esfahbod Bug 377975 – bug in _pango_glyph_item_iter_next_cluster * pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster), (_pango_glyph_item_iter_prev_cluster): Fix condition for ending a cluster. 2006-11-20 Behdad Esfahbod * === Released 1.14.8 === * configure.in: Version 1.14.8 * NEWS: Updated. 2006-11-20 Behdad Esfahbod Bug 356666 – pango is not thread-safe, nautilus does not honour that * pango/pangocairo-render.c (acquire_renderer), (release_renderer), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Instead of using a per-fontmap renderer, use a locally cached one, but make sure only one thread uses the cached renderer. Fixes the raciest point in pangocairo. 2006-11-14 Behdad Esfahbod Bug 352795 – configure.in: Bug in "checking Whether to write dependencies into .pc files" * configure.in: Make libtool magic robust. 2006-11-14 Behdad Esfahbod * pango/pango-context.c (itemize_state_process_run): Choose shaper/font for unassigned Unicode codepoints too. This is needed to be able to render scripts being encoded before next version of Unicode is out. 2006-11-08 Roozbeh Pournader Bug 350132 – backspacing doesn't work properly for Arabic * modules/arabic/arabic-lang.c: Add more backspace_deletes_character cases. 2006-11-08 Behdad Esfahbod * pango/pango-layout.c (pango_layout_move_cursor_visually): Don't index vis2log_map[] with a negative value. Fixes #368972. 2006-10-24 Behdad Esfahbod * examples/Makefile.am (cairosimple_LDADD): Do not require pangoft2 unconditionally. 2006-10-18 Behdad Esfahbod * modules/arabic/arabic-lang.c: Do not include arabic-ot.h. 2006-10-18 Behdad Esfahbod * examples/test-thai.txt: Replace by a better one. 2006-10-17 Behdad Esfahbod * examples/Makefile.am: * examples/test-thai.txt: Added. 2006-10-16 Behdad Esfahbod Bug 330407 – Multiple dependant vowel signs (indic) displayed as one Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c: Change state transition for cn to dv. 2006-10-13 Behdad Esfahbod * === Released 1.14.7 === * configure.in: Version 1.14.7 * NEWS: Updated. 2006-10-13 Behdad Esfahbod Bug 361938 – Can't include *-lang modules (./configure --with-included-modules fails) * configure.in: * modules/Makefile.am: * pango/.cvsignore: * pango/Makefile.am: * pango/modules.c (init_modules): * pango/modules.h: Make included language engines work. 2006-10-12 Behdad Esfahbod * === Released 1.14.6 === * configure.in: Version 1.14.6 * NEWS: Updated. 2006-10-12 Behdad Esfahbod Bug 353877 – Sinhala is_cursor_position and backspace_deletes_character issues Patch from Akira TAGOH * configure.in: * modules/indic/Makefile.am: * modules/indic/indic-lang.c: Add a simple Indic language engine. 2006-10-12 Behdad Esfahbod Bug 358224 – Telugu Character U+0C31 does not render its below-base form. Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change the class of U+0C31 from '_ct' to '_bb'. 2006-10-12 Behdad Esfahbod Bug 358174 – Reph and Vattu forms of Assamese character RA(U+09F0) are not rendered. Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change the class bit of U+09F0 from '_ct' to '_rv'. 2006-10-12 Behdad Esfahbod * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-lang.c: Backport the Arabic lang engine from HEAD. 2006-10-12 Behdad Esfahbod * pango/break.c (pango_default_break), (tailor_break), (pango_break), (pango_find_paragraph_boundary), (tailor_segment), (pango_get_log_attrs): Backport (copy) break.c from HEAD. This makes the language engine interface work. 2006-10-02 Behdad Esfahbod * === Released 1.14.5 === * configure.in: Version 1.14.5 * NEWS: Updated. 2006-10-02 Behdad Esfahbod Bug 356685 – [or_IN] Rendering of consonant+0x0B4D+0x0B2F is wrong Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change _ct to _bb for various Orya characters. 2006-10-02 Behdad Esfahbod Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Fix. 2006-08-26 Behdad Esfahbod Bug 349813 – typo in docs for pango_layout_move_cursor_visually * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix typo. 2006-09-25 Behdad Esfahbod Bug 357686 – pangocairo-font.c: illegal g_object_unref in pango_cairo_font_get_hex_box_info * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Remove wrong g_object_unref (fontmap). 2006-09-15 Behdad Esfahbod * === Released 1.14.4 === * configure.in: Version 1.14.4 * NEWS: Updated. 2006-09-13 Behdad Esfahbod Bug 351223 – the conjuction of Con + 0x0d4d +0x0d31 of Malayalam is wrong Patch from LingNing Zhang * modules/indic/indic-ot.c (swapChars), (indic_ot_reorder): Special case the above case. 2006-09-13 Behdad Esfahbod Bug 355750 – The glyphs of the conjuctions about Cons+0x0d4d+0x0d32 of Malayalm are wrong. Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (mlymCharClasses): Change U+0D32 from _bb to _ct. 2006-09-13 Behdad Esfahbod Bug 349876 – U+0x0904 of Devanagari need be "independent vowel", but it is "reserved" in Pango Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (devaCharClasses): Change U+0904 from _xx to _iv. 2006-09-13 Behdad Esfahbod Bug 355550 – Miscalculation of logical attributes in pango_get_log_attrs() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): Pass the correct lang_engine to pango_break(). 2006-09-13 Behdad Esfahbod Bug 355697 – The IndicOTClassTable of Oriya has a error. * modules/indic/indic-ot-class-tables.c: Compute lastChar from charClasses table size to avoid out-of-synch. 2006-09-13 Behdad Esfahbod Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (pango_layout_get_extents_internal), (pango_layout_get_extents), (pango_layout_iter_copy), (pango_layout_get_iter), (pango_layout_iter_get_line_extents): Add a new internal member layout_width to PangoLayoutIter. Set it up in pango_layout_get_extents_internal and use in pango_layout_iter_get_line_extents to fix misalignment of ink link extents. 2006-09-13 Behdad Esfahbod Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (pango_layout_iter_copy): Fix typo in copying iter->cluster_width. 2006-09-12 Behdad Esfahbod Bug 355605 – hexbox with 0000 in it * modules/hangul/hangul-fc.c (render_syllable): If decomposition fails, backup and add a single hexbox glyph for the original character. 2006-09-11 Behdad Esfahbod Bug 355435 – Invalid calls to pango_map_get_engine() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): * pango/pango-renderer.c (add_underline): * pango/pangofc-font.c (pango_fc_font_find_shaper): * pango/pangowin32.c (pango_win32_font_find_shaper): * pango/pangox.c (pango_x_font_find_shaper): Pass a PangoScript to pango_map_get_engine, not a gunichar! 2006-09-11 Behdad Esfahbod Bug 347146 – underline/overstrike spaces * pango/pango-renderer.c (add_underline), (add_strikethrough), (pango_renderer_draw_layout_line): Use logical extents for x and width of underline/strikethrough, such that trailing spaces are correctly handled. * pango/pango-layout.c (pango_layout_run_get_extents): Use logical rect for underline/strikethrough, and reflect that in run ink extents. * pango/pango-layout.c (pango_layout_line_get_extents): Don't let runs with empty ink extents affect total ink extents. 2006-09-10 Behdad Esfahbod Bug 352535 – Ink extents of empty glyph * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): Return zero ink_rect for PANGO_GLYPH_EMPTY. 2006-09-04 Behdad Esfahbod * === Released 1.14.3 === * configure.in: Version 1.14.3 * NEWS: Updated. 2006-08-30 Behdad Esfahbod Bug 353525 – libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_gravity' * examples/Makefile.am: Explicitly link to the just built pangoft2 for pangocairo uses, like we already do for pangoxft. 2006-08-28 Tor Lillqvist * modules/basic/Makefile.am: Have basic-win32.c instead of basic-win32.lo depend on usp10.h so things work out also in case the basic-win32 module is compiled in. 2006-08-26 Behdad Esfahbod Bug 349813 – typo in docs for pango_layout_move_cursor_visually * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix typo. 2006-08-22 Behdad Esfahbod * === Released 1.14.2 === * configure.in: Version 1.14.2 * NEWS: Updated. 2006-08-22 Behdad Esfahbod * pango/pango-context.c (itemize_state_process_run): Replace (!isgraph && !isspace) with (!isprint) which is equivalent. Also, update comments. 2006-08-22 Behdad Esfahbod Part of Bug 145275 – Font selection for space characters * pango/pango-context.c (itemize_state_process_run): Find shaper/font for Private Use and space characters too. Finding shaper for Private Use is needed for any practical use of those areas. Ideally, spaces should be synthesized if they are not available in the font, but falling back to other fonts is far easier, and should give pretty good results with the current set of common fonts. These fixes allow Firefox+Pango to render MathML like Firefox+Xft does. 2006-08-21 Behdad Esfahbod * === Released 1.14.1 === * configure.in: Version 1.14.1 * NEWS: Updated. 2006-08-21 Behdad Esfahbod Bug 352114 – pango-1.14: generated docs still contain old example code * docs/tmpl/pangocairo.sgml: Update cairo example code to that of examples/cairosimple.c. 2006-08-17 Behdad Esfahbod Part of Bug 348825 – pango should optimize away calls to FcFontSort as much as possible * pango/pangofc-fontmap.c: Increase FONTSET_CACHE_SIZE from 16 to 64. 2006-08-16 Behdad Esfahbod Bug 351585 – API documentation issues with 2.15 release * pango/fonts.c (pango_font_describe_with_absolute_size): Add Since tag to docs. 2006-08-16 Behdad Esfahbod Create pango-1-14 stable branch. * ChangeLog.pre-1-14: Created. * Makefile.am: Updated to dist above. Local Variables: coding: utf-8 End: vim: encoding=utf-8: