summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.15.0 ===PANGO_1_15_0Behdad Esfahbod2006-10-163-1/+114
| | | | | | | | | | 2006-10-16 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.0 === * configure.in: Version 1.15.0 * NEWS: Updated.
* 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.
* Make TypeInfo structs not static. Reduces relocations.Behdad Esfahbod2006-10-1310-14/+31
| | | | | | | | | | | | | | | | | | | 2006-10-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_get_type): * pango/pangocairo-font.c (pango_cairo_font_get_type): * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_type): * pango/pangofc-fontmap.c (pango_fc_face_get_type), (pango_fc_family_get_type): * pango/pangowin32-fontmap.c (pango_win32_family_get_type), (pango_win32_face_get_type): * pango/pangox-fontmap.c (pango_x_font_map_get_type), (pango_x_face_get_type), (pango_x_family_get_type): * pango/pangox.c (pango_x_font_get_type): Make TypeInfo structs not static. Reduces relocations.
* Bug 361938 – Can't include *-lang modules (./configureBehdad Esfahbod2006-10-137-25/+77
| | | | | | | | | | | | | | | 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.
* 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.
* Fix comment about PangoGlyphUnit being a 1000th of a char.Behdad Esfahbod2006-10-121-1/+1
|
* 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'.
* Bug 358174 – Reph and Vattu forms of Assamese character RA(U+09F0) areBehdad Esfahbod2006-10-122-1/+10
| | | | | | | | | | | 2006-10-12 Behdad Esfahbod <behdad@gnome.org> 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'.
* Add part of Jabberwocky as Latin test text.Behdad Esfahbod2006-10-073-0/+15
| | | | | | | 2006-10-07 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am: * examples/test-latin.txt: Add part of Jabberwocky as Latin test text.
* Bug 356685 – [or_IN] Rendering of consonant+0x0B4D+0x0B2F is wrong PatchBehdad Esfahbod2006-10-022-6/+15
| | | | | | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)Behdad Esfahbod2006-10-023-10/+19
| | | | | | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Fix.
* .Behdad Esfahbod2006-10-021-0/+1
|
* Bug 359043 – PangoRenderer does not show in API docsBehdad Esfahbod2006-10-022-0/+8
| | | | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 359043 – PangoRenderer does not show in API docs * docs/pango-docs.sgml: Hook PangoRenderer docs.
* Bug 359046 – renderdemo.c unconditionally use GLib 2.12Behdad Esfahbod2006-10-021-0/+2
| | | | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 359046 – renderdemo.c unconditionally use GLib 2.12 * configure.in: Require glib 2.12, for Unicode 5.0 data files.
* Require glib 2.12, for Unicode 5.0 data files.Behdad Esfahbod2006-10-022-1/+5
| | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> * configure.in: Require glib 2.12, for Unicode 5.0 data files.
* Bug 357686 – pangocairo-font.c: illegal g_object_unref inBehdad Esfahbod2006-09-252-1/+8
| | | | | | | | | | 2006-09-25 Behdad Esfahbod <behdad@gnome.org> 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).
* Bug 357228 – Remove aix specific hack from configure.inBehdad Esfahbod2006-09-222-3/+9
| | | | | | | | | 2006-09-22 Behdad Esfahbod <behdad@gnome.org> Bug 357228 – Remove aix specific hack from configure.in * configure.in: Remove hack added back 2002 that is not required anymore.
* Step module interface version to 1.6.0 because of the script_break()Behdad Esfahbod2006-09-182-1/+7
| | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * configure.in: Step module interface version to 1.6.0 because of the script_break() slight change of behavior and anticipated changes to the module interface this cycle.
* Part of Bug 350132 – backspacing doesn't work properly for ArabicBehdad Esfahbod2006-09-184-1/+152
| | | | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> Part of Bug 350132 – backspacing doesn't work properly for Arabic * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-lang.c: Add a simple Arabic language engine. Currently it just makes sure that backspace_deletes_character is not set on ALEF-MADDA combinations.
* Minor simplification.Behdad Esfahbod2006-09-185-9/+17
| | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * tools/gen-script-table.pl: * pango/pango-script-table.h: * pango/pango-script.c (pango_script_for_unichar): Minor simplification. * tests/testscript.c (test_script_lookup): Update to pass.
* Remove a couple of unnecessary static variables.Behdad Esfahbod2006-09-182-15/+10
| | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * pango/pangoft2-render.c (pango_ft2_font_render_glyph): Remove a couple of unnecessary static variables.
* Bug 356194 – more pango_get_log_attrs problemsBehdad Esfahbod2006-09-184-51/+91
| | | | | | | | | | | | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> Bug 356194 – more pango_get_log_attrs problems * pango/break.c (tailor_break): New function. Simply calls the script_break() function of the language engine, if any. * pango/break.c (pango_break): Call pango_default_break() unconditionally. Call tailor_break() on top of the result to tailor it using the language engines, if any. * pango/break.c (tailor_segment): Call tailor_break() on the segment, and make sure the log_attrs for the first position are not corrupted. * pango/break.c (pango_get_log_attrs): Call pango_default_break() on the entire paragraph, and call tailor_segment on each segment. * pango/pango-engine.h: Update docs about *script_break()'s behavior.
* Bug 355820 – pango_get_log_attrs brokenBehdad Esfahbod2006-09-152-51/+70
| | | | | | | | | 2006-09-15 Behdad Esfahbod <behdad@gnome.org> Bug 355820 – pango_get_log_attrs broken * pango/break.c (break_it), (pango_get_log_attrs): Use PangoScriptIter to itemize text, instead of pango_script_for_unichar().
* Oops Ooops Oooops, I did it again! Revert accidentally committed stuff :-(Behdad Esfahbod2006-09-154-42/+2
|
* Unset gravity on the resulting font description. We want gravity to be setBehdad Esfahbod2006-09-156-2/+52
| | | | | | | | 2006-09-15 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_face_describe): Unset gravity on the resulting font description. We want gravity to be set on all fonts described, but not font faces.
* Change enums to macros, to get in synch with ICU shaper. No functionalBehdad Esfahbod2006-09-142-59/+63
| | | | | | | 2006-09-14 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-ot-class-tables.c: Change enums to macros, to get in synch with ICU shaper. No functional changes.
* Change some enums to macros, to get in synch with ICU shaper. NoBehdad Esfahbod2006-09-142-63/+43
| | | | | | | 2006-09-14 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-ot.h: Change some enums to macros, to get in synch with ICU shaper. No functional changes.
* Bug 351223 – the conjuction of Con + 0x0d4d +0x0d31 of Malayalam isBehdad Esfahbod2006-09-132-1/+40
| | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 355750 – The glyphs of the conjuctions about Cons+0x0d4d+0x0d32 ofBehdad Esfahbod2006-09-132-1/+10
| | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 349876 – U+0x0904 of Devanagari need be "independent vowel", but itBehdad Esfahbod2006-09-132-1/+10
| | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 355550 – Miscalculation of logical attributes inBehdad Esfahbod2006-09-132-3/+11
| | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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().
* Err about failing to load engine only once per module.Behdad Esfahbod2006-09-132-1/+24
| | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_engine_pair_get_engine): Err about failing to load engine only once per module.
* Bug 355697 – The IndicOTClassTable of Oriya has a error.Behdad Esfahbod2006-09-132-19/+21
| | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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.
* Part of Bug 355782 – Misaligned extents in pangoBehdad Esfahbod2006-09-132-9/+33
| | | | | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> 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.
* "Thou shalt not touch code that does not fit in thy brain."Behdad Esfahbod2006-09-132-10/+18
| | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> "Thou shalt not touch code that does not fit in thy brain." * pango/pango-layout.c (update_cluster): Add cluster_start_index parameter back in.
* Remove unnecessary 'static' in type definition that causes a relocation.Behdad Esfahbod2006-09-133-2/+11
| | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-engine.h: Remove unnecessary 'static' in type definition that causes a relocation. * pango/shape.c (pango_shape): Make sure last_cluster is invalid.
* Oops, undo stuff that were committed accidentally.Behdad Esfahbod2006-09-136-48/+6
|
* Part of Bug 355782 – Misaligned extents in pangoBehdad Esfahbod2006-09-138-31/+93
| | | | | | | | | | | | | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (cluster_width): Rewrite based on is_cluster_start instead of accessing log_clusters directly. This is more robust as next_cluster uses that, so the two match now. * pango/pango-layout.c (update_cluster): Remove the cluster_start_index parameter and use iter->cluster_start instead. * pango/pango-layout.c (pango_layout_iter_copy): Fix typo in copying iter->cluster_width. * pango/pango-layout.c (pango_layout_iter_get_cluster_extents): Add an assert to make sure iter->cluster_width is correctly set. * pango/pango-layout.c (pango_layout_iter_get_char_extents): Remove assert that was readded above to check more cases.
* Bug 355605 – hexbox with 0000 in itBehdad Esfahbod2006-09-122-2/+18
| | | | | | | | | | 2006-09-12 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 355435 – Invalid calls to pango_map_get_engine() Patch fromBehdad Esfahbod2006-09-116-8/+26
| | | | | | | | | | | | | | 2006-09-11 Behdad Esfahbod <behdad@gnome.org> 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!
* Bug 347146 – underline/overstrike spacesBehdad Esfahbod2006-09-113-27/+78
| | | | | | | | | | | | | | | | | 2006-09-11 Behdad Esfahbod <behdad@gnome.org> 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.
* Bug 352535 – Ink extents of empty glyphBehdad Esfahbod2006-09-112-1/+9
| | | | | | | | | | 2006-09-10 Behdad Esfahbod <behdad@gnome.org> 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.
* A simple text-on-path example using pangocairo.Behdad Esfahbod2006-09-083-3/+411
| | | | | | | | | 2006-09-08 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c: A simple text-on-path example using pangocairo. * examples/Makefile.am: Update.
* Parse style. It was dropped when I was adding support for gravity.Behdad Esfahbod2006-09-082-0/+6
| | | | | | | 2006-09-08 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (find_field_any): Parse style. It was dropped when I was adding support for gravity.
* Minor doc syntax update.Behdad Esfahbod2006-08-314-14/+19
| | | | | | | 2006-08-31 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c, pango/pangox-fontmap.c, pango/pangox.c: Minor doc syntax update.
* Bug 148732 – cursor movenmet is not correct in gedit when I type ArabicBehdad Esfahbod2006-08-302-5/+19
| | | | | | | | | | 2006-08-30 Behdad Esfahbod <behdad@gnome.org> Bug 148732 – cursor movenmet is not correct in gedit when I type Arabic text. * pango/pango-layout.c (pango_layout_move_cursor_visually): Update locally cached line properties upon line change.
* Improve the conditional to ignore included modules.Behdad Esfahbod2006-08-302-1/+6
| | | | | | | 2006-08-30 Behdad Esfahbod <behdad@gnome.org> * modules/Makefile.am (pango.modules): Improve the conditional to ignore included modules.
* Bug 352811 – SIGSEGV with pango(cairo)-view on HP-UXBehdad Esfahbod2006-08-302-2/+9
| | | | | | | | | 2006-08-30 Behdad Esfahbod <behdad@gnome.org> Bug 352811 – SIGSEGV with pango(cairo)-view on HP-UX * modules/Makefile.am (pango.modules): Don't hardcode .so extension. Look for .la instead.
* Bug 353525 – libpangoft2-1.0.so.0: undefined reference toBehdad Esfahbod2006-08-302-0/+11
| | | | | | | | | | 2006-08-30 Behdad Esfahbod <behdad@gnome.org> 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.
* Have basic-win32.c instead of basic-win32.lo depend on usp10.h so thingsTor Lillqvist2006-08-272-1/+7
| | | | | | | | 2006-08-28 Tor Lillqvist <tml@novell.com> * 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.