summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Oops.pango-1-14Behdad Esfahbod2007-04-121-1/+0
| | | | svn path=/branches/pango-1-14/; revision=2226
* Copy fixes from harfbuzz stable branch. Includes a leak fix, a kerningBehdad Esfahbod2007-04-034-1/+20
| | | | | | | | | | | | | | 2007-04-03 Behdad Esfahbod <behdad@gnome.org> * 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. svn path=/branches/pango-1-14/; revision=2222
* Bug 414297 – Fails to build with --enable-static --with-included-modulesBehdad Esfahbod2007-03-032-0/+11
| | | | | | | | | | | | | | 2007-03-03 Behdad Esfahbod <behdad@gnome.org> 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. svn path=/branches/pango-1-14/; revision=2208
* Fix brokenness in the code that tries to ensure that all fonts also haveTor Lillqvist2007-02-273-39/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-26 Tor Lillqvist <tml@novell.com> * 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. svn path=/branches/pango-1-14/; revision=2205
* If something has gone wrong in setting the family of the font description,Owen Taylor2007-02-132-1/+20
| | | | | | | | | | | | 2007-02-13 Owen Taylor <otaylor@redhat.com> * 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) svn path=/branches/pango-1-14/; revision=2193
* Use pangocairo.def only on Win32, not Cygwin. (#402373, "paul")Tor Lillqvist2007-01-312-0/+7
| | | | | | | | | | 2007-01-31 Tor Lillqvist <tml@novell.com> * pango/Makefile.am: Use pangocairo.def only on Win32, not Cygwin. (#402373, "paul") svn path=/branches/pango-1-14/; revision=2191
* Include also the COPYING file in the zipfiles.Tor Lillqvist2007-01-302-0/+12
| | | | | | | | | 2007-01-30 Tor Lillqvist <tml@novell.com> * pango-zip.sh.in: Include also the COPYING file in the zipfiles. svn path=/branches/pango-1-14/; revision=2190
* Include just pango-zip.sh.in in the tarball, not pango-zip.sh.Tor Lillqvist2007-01-302-1/+6
| | | | | | | | | | 2007-01-30 Tor Lillqvist <tml@novell.com> * Makefile.am (EXTRA_DIST): Include just pango-zip.sh.in in the tarball, not pango-zip.sh. svn path=/branches/pango-1-14/; revision=2187
* === Released 1.14.10 ===Behdad Esfahbod2007-01-293-2/+31
| | | | | | | | | | | | | 2007-01-29 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.10 === * configure.in: Version 1.14.10 * NEWS: Updated. svn path=/branches/pango-1-14/; revision=2185
* Fix the "menu accels are two chars wide" bug that was introduced by theBehdad Esfahbod2007-01-232-2/+9
| | | | | | | | | | | | 2007-01-22 Behdad Esfahbod <behdad@gnome.org> * 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. svn path=/branches/pango-1-14/; revision=2181
* Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTYBehdad Esfahbod2007-01-172-1/+9
| | | | | | | | | | | | 2007-01-17 Behdad Esfahbod <behdad@gnome.org> Bug 395328 – Map kATSDeletedGlyphcode to PANGO_GLYPH_EMPTY * modules/basic/basic-atsui.c (set_glyph): Handle kATSDeletedGlyphcode. svn path=/branches/pango-1-14/; revision=2171
* Fix width calculation. Was causing ellipsization to stop at a zero-widthBehdad Esfahbod2007-01-163-10/+35
| | | | | | | | | | | | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> * 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. svn path=/branches/pango-1-14/; revision=2157
* Fix background rendering being off in presence of rise attributes.Behdad Esfahbod2007-01-162-1/+6
| | | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix background rendering being off in presence of rise attributes. svn path=/branches/pango-1-14/; revision=2149
* Don't check for X and don't warn about missing fontconfig on Win32.Tor Lillqvist2007-01-152-9/+17
| | | | | | | | | | 2007-01-15 Tor Lillqvist <tml@novell.com> * configure.in: Don't check for X and don't warn about missing fontconfig on Win32. (#392628, Yevgen Muntyan) svn path=/branches/pango-1-14/; revision=2143
* Automatically use -mms-bitfields on Windows when building with gcc.Tor Lillqvist2007-01-152-0/+40
| | | | | | | | | | 2007-01-15 Tor Lillqvist <tml@novell.com> * configure.in: Automatically use -mms-bitfields on Windows when building with gcc. (#394453) svn path=/branches/pango-1-14/; revision=2141
* Remove .cvsignore files (moved to svn:ignore prop)Behdad Esfahbod2007-01-0919-180/+0
| | | | svn path=/branches/pango-1-14/; revision=2138
* Fix typo in docs.Behdad Esfahbod2007-01-081-1/+1
| | | | svn path=/branches/pango-1-14/; revision=2132
* Spell-check the docs.Behdad Esfahbod2007-01-0752-146/+199
| | | | svn path=/branches/pango-1-14/; revision=2131
* Fix build on Win32 outside srcdir. (#392789, J. Ali Harlow)Tor Lillqvist2007-01-072-1/+6
| | | | | | | | | | 2007-01-07 Tor Lillqvist <tml@novell.com> * modules/basic/Makefile.am: Fix build on Win32 outside srcdir. (#392789, J. Ali Harlow) svn path=/branches/pango-1-14/; revision=2129
* Bug 326099 – Setting width, indentation and ellipsizing doesn't work asBehdad Esfahbod2006-12-192-2/+15
| | | | | | | | | | 2006-12-19 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 319808 – Patch to let pango support artifical italic, bold and boldBehdad Esfahbod2006-12-132-19/+94
| | | | | | | | | | | | 2006-12-13 Behdad Esfahbod <behdad@gnome.org> 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.
* Red Hat Bug 211574: [hi/ml/si_LK] cursor naviation is wrong when using ZWJBehdad Esfahbod2006-12-082-1/+98
| | | | | | | | | | | 2006-12-08 Behdad Esfahbod <behdad@gnome.org> 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.
* === Released 1.14.9 ===PANGO_1_14_9Behdad Esfahbod2006-12-073-2/+31
| | | | | | | | | | 2006-12-07 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.9 === * configure.in: Version 1.14.9 * NEWS: Updated.
* Red Hat Bug 216424: [te_IN] pango - consonant + dependent vowel (ai)Behdad Esfahbod2006-12-072-3/+28
| | | | | | | | | | 2006-12-07 Behdad Esfahbod <behdad@gnome.org> 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!
* Red Hat Bug 216850: Issue in combination with vowels (ml_IN) Patch fromBehdad Esfahbod2006-12-062-37/+17
| | | | | | | | | 2006-12-06 Behdad Esfahbod <behdad@gnome.org> 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!
* Bug 382437 – tests/testboundaries failsBehdad Esfahbod2006-12-062-1/+7
| | | | | | | | 2006-12-06 Behdad Esfahbod <behdad@gnome.org> Bug 382437 – tests/testboundaries fails * configure.in: Require libthai >= 0.1.7
* Fix handling of boxes drawn in do_path mode. Previously we were doing oneBehdad Esfahbod2006-12-042-21/+72
| | | | | | | | | | | | | | 2006-12-04 Behdad Esfahbod <behdad@gnome.org> * 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.
* Red Hat Bug 211964: [ta] Rendering issue with Tamil Patch from LingNingBehdad Esfahbod2006-12-042-0/+50
| | | | | | | | | | 2006-12-04 Behdad Esfahbod <behdad@gnome.org> 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.
* Red Hat Bug 213632: ZWJ (200d) and ZWNJ (200c) showing same output PatchBehdad Esfahbod2006-12-012-0/+10
| | | | | | | | | 2006-12-01 Behdad Esfahbod <behdad@gnome.org> 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.
* Revert two of the cast changes from last commit, to make sure theBehdad Esfahbod2006-11-284-4/+24
| | | | | | | | | | | | 2006-11-28 Behdad Esfahbod <behdad@gnome.org> * 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.
* Use simple, fast, casts instead of PANGO_CAIRO_*() macros where the objectBehdad Esfahbod2006-11-286-27/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-28 Behdad Esfahbod <behdad@gnome.org> * 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.
* Bug 371388 – Add Thai langauage engine Patch from TheppitakBehdad Esfahbod2006-11-275-4/+186
| | | | | | | | | | | | | | | 2006-11-27 Behdad Esfahbod <behdad@gnome.org> 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.
* Make renderer-cache really thread-safe this time. Last try was not quiteBehdad Esfahbod2006-11-252-10/+27
| | | | | | | | | | | 2006-11-25 Behdad Esfahbod <behdad@gnome.org> * 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.
* Bug 377975 – bug in _pango_glyph_item_iter_next_clusterBehdad Esfahbod2006-11-222-4/+12
| | | | | | | | | | 2006-11-22 Behdad Esfahbod <behdad@gnome.org> 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.
* === Released 1.14.8 ===PANGO_1_14_8Behdad Esfahbod2006-11-203-2/+27
| | | | | | | | | | 2006-11-20 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.8 === * configure.in: Version 1.14.8 * NEWS: Updated.
* Bug 356666 – pango is not thread-safe, nautilus does not honour thatBehdad Esfahbod2006-11-202-49/+57
| | | | | | | | | | | | 2006-11-20 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 352795 – configure.in: Bug in "checking Whether to writeBehdad Esfahbod2006-11-142-1/+8
| | | | | | | | | 2006-11-14 Behdad Esfahbod <behdad@gnome.org> Bug 352795 – configure.in: Bug in "checking Whether to write dependencies into .pc files" * configure.in: Make libtool magic robust.
* Choose shaper/font for unassigned Unicode codepoints too. This is neededBehdad Esfahbod2006-11-142-4/+14
| | | | | | | | | 2006-11-14 Behdad Esfahbod <behdad@gnome.org> * 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.
* Bug 350132 – backspacing doesn't work properly for ArabicRoozbeh Pournader2006-11-082-5/+46
| | | | | | | | | 2006-11-08 Roozbeh Pournader <roozbeh@farsiweb.info> Bug 350132 – backspacing doesn't work properly for Arabic * modules/arabic/arabic-lang.c: Add more backspace_deletes_character cases.
* Don't index vis2log_map[] with a negative value. Fixes #368972.Behdad Esfahbod2006-11-072-3/+9
| | | | | | | 2006-11-08 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_move_cursor_visually): Don't index vis2log_map[] with a negative value. Fixes #368972.
* Do not require pangoft2 unconditionally.Behdad Esfahbod2006-10-242-1/+9
| | | | | | | 2006-10-24 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am (cairosimple_LDADD): Do not require pangoft2 unconditionally.
* Do not include arabic-ot.h.Behdad Esfahbod2006-10-182-2/+4
| | | | | | 2006-10-18 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-lang.c: Do not include arabic-ot.h.
* Replace by a better one.Behdad Esfahbod2006-10-182-8/+15
| | | | | | 2006-10-18 Behdad Esfahbod <behdad@gnome.org> * examples/test-thai.txt: Replace by a better one.
* Added.Behdad Esfahbod2006-10-173-0/+14
| | | | | | | 2006-10-17 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am: * examples/test-thai.txt: Added.
* Bug 330407 – Multiple dependant vowel signs (indic) displayed as oneBehdad Esfahbod2006-10-162-1/+9
| | | | | | | | | | 2006-10-16 Behdad Esfahbod <behdad@gnome.org> 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.
* === Released 1.14.7 ===PANGO_1_14_7Behdad Esfahbod2006-10-133-2/+17
| | | | | | | | | | 2006-10-13 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.7 === * configure.in: Version 1.14.7 * NEWS: Updated.
* Bug 361938 – Can't include *-lang modules (./configureBehdad Esfahbod2006-10-137-25/+76
| | | | | | | | | | | | | | | 2006-10-13 Behdad Esfahbod <behdad@gnome.org> 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.
* === Released 1.14.6 ===PANGO_1_14_6Behdad Esfahbod2006-10-123-2/+26
| | | | | | | | | | 2006-10-12 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.6 === * configure.in: Version 1.14.6 * NEWS: Updated.
* Bug 353877 – Sinhala is_cursor_position and backspace_deletes_characterBehdad Esfahbod2006-10-124-1/+196
| | | | | | | | | | | | 2006-10-12 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 358224 – Telugu Character U+0C31 does not render its below-baseBehdad Esfahbod2006-10-122-1/+10
| | | | | | | | | | | 2006-10-12 Behdad Esfahbod <behdad@gnome.org> 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'.