summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.14.0 ===vertical-branch-pointPANGO_1_14_0verticalBehdad Esfahbod2006-08-084-7/+21
| | | | | | | | | | | 2006-08-08 Behdad Esfahbod <behdad@gnome.org> * === Released 1.14.0 === * configure.in: Version 1.14.0 * configure.in: Require cairo-1.2.2 for the bugfixes it has * NEWS: Updated.
* Don't ignore all trailing whitespace in input text. Only chop one newline.Behdad Esfahbod2006-08-013-12/+16
| | | | | | | | | | 2006-08-01 Behdad Esfahbod <behdad@gnome.org> * examples/renderdemo.c (parse_options): Don't ignore all trailing whitespace in input text. Only chop one newline. * examples/viewer-main.c (main): setlocale(LC_ALL, "") to get GOption work for UTF-8 text on the command line.
* === Released 1.13.5 ===PANGO_1_13_5Behdad Esfahbod2006-07-313-2/+20
| | | | | | | | | | 2006-07-31 Behdad Esfahbod <behdad@gnome.org> * === Released 1.13.5 === * configure.in: Version 1.13.5 * NEWS: Updated.
* Bug 121672 – Ra (vattu) not rendered properly in Malayalam Patch fromBehdad Esfahbod2006-07-312-0/+42
| | | | | | | | | | 2006-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 121672 – Ra (vattu) not rendered properly in Malayalam Patch from LingNing Zhang * modules/indic/indic-ot.c (shiftCharsLeft3), (indic_ot_reorder): Reorder combinations of some three chars!
* Bug 335811 – Some conjugates of Malayalam are wrong. Patch from LingNingBehdad Esfahbod2006-07-312-2/+10
| | | | | | | | | | 2006-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 335811 – Some conjugates of Malayalam are wrong. Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c: Update consonant tags to fix conjugates.
* Add Cuneiform and Phoenician in the list of supported scripts by thisBehdad Esfahbod2006-07-253-1/+14
| | | | | | | | | | | 2006-07-25 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-fc.c: Add Cuneiform and Phoenician in the list of supported scripts by this backend. Phoenician is a simple RTL script. * pango/pango-script.c (pango_script_get_sample_language): Add language code "nqo" for script N'Ko.
* === Released 1.13.4 ===PANGO_1_13_4Behdad Esfahbod2006-07-253-2/+22
| | | | | | | | | | 2006-07-24 Behdad Esfahbod <behdad@gnome.org> * === Released 1.13.4 === * configure.in: Version 1.13.4 * NEWS: Updated.
* Minor doc improvement.Behdad Esfahbod2006-07-251-1/+1
|
* Update to UCD 5.0.0.Behdad Esfahbod2006-07-2510-1027/+1218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-07-24 Behdad Esfahbod <behdad@gnome.org> * pango/mini-fribidi/fribidi_tab_char_type_2.i: Update to UCD 5.0.0. * pango/mini-fribidi/README: Note the about update. * pango/pango-script.h: Add new values for PangoScript. * pango/pango-script.c (pango_script_for_unichar_bsearch): Default to PANGO_SCRIPT_UNKNOWN. * pango/pango-script.c (pango_script_get_sample_language): Add empty entries for new script values. * tools/gen-script-table.pl: Default to PANGO_SCRIPT_UNKNOWN as is now the default value of Scripts.txt in UCD 5.0.0. * pango/pango-script-table.h: Regenerated against UCD 5.0.0. * docs/tmpl/scripts.sgml: Document new script types. * tools/gen-script-for-lang.c (scripts_for_line): Ignore data at the end of lines as many .orth files in fontconfig now list the character name there. * pango/pango-script-lang-table.h: Regenerate against newer fontconfig 2.3.9x.
* Bug 347073 – Allow empty GPOS tableBehdad Esfahbod2006-07-252-0/+12
| | | | | | | | | 2006-07-24 Behdad Esfahbod <behdad@gnome.org> Bug 347073 – Allow empty GPOS table * pango/opentype/harfbuzz-open.c (_HB_OPEN_Load_ScriptList): Don't err on empty GPOS/GSUB tables.
* Improve docs.Behdad Esfahbod2006-07-192-3/+12
| | | | | | 2006-07-19 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_get_extents): Improve docs.
* Bug 347021 – atsui crash when a matching font cannot be found. PatchRichard Hult2006-07-172-0/+11
| | | | | | | | | | 2006-07-17 Richard Hult <richard@imendio.com> Bug 347021 – atsui crash when a matching font cannot be found. Patch from Brian Tarricone. * pango/pangoatsui-fontmap.c (pango_atsui_font_map_load_font): Bail out if best desc or best face isn't found.
* === Released 1.13.3 ===PANGO_1_13_3Behdad Esfahbod2006-07-103-1/+35
| | | | | | | | | | 2006-07-10 Behdad Esfahbod <behdad@gnome.org> * === Released 1.13.3 === * configure.in: Version 1.13.3 * NEWS: Updated.
* Bug 330603 – pango_scan_int invokes undefined behaviourBehdad Esfahbod2006-07-102-21/+21
| | | | | | | | 2006-07-10 Behdad Esfahbod <behdad@gnome.org> Bug 330603 – pango_scan_int invokes undefined behaviour * pango/pango-utils.c (pango_scan_int): Use strtol.
* Bug 315599 – PangoAttribute remains in wrong context.Behdad Esfahbod2006-07-102-0/+26
| | | | | | | | | 2006-07-10 Behdad Esfahbod <behdad@gnome.org> Bug 315599 – PangoAttribute remains in wrong context. * pango/pangocairo-render.c (_pango_cairo_do_glyph_string): Rever my commit that removed Owen's fix from last year!
* Bug 163677 – pango_attr_list_splice: inconsistent docs Patch from MortenBehdad Esfahbod2006-07-102-1/+10
| | | | | | | | | 2006-07-10 Behdad Esfahbod <behdad@gnome.org> Bug 163677 – pango_attr_list_splice: inconsistent docs Patch from Morten Welinder * pango/pango-attributes.c (pango_attr_list_splice): Improve docs.
* Bug 345070 – [ml_IN] not render for combination with ZWJ Patch fromBehdad Esfahbod2006-07-102-1/+8
| | | | | | | | | 2006-07-10 Behdad Esfahbod <behdad@gnome.org> Bug 345070 – [ml_IN] not render for combination with ZWJ Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c: Process ZWJ for Malayalam.
* Bug 345274 – list of new symbols for each version is missing in docsBehdad Esfahbod2006-07-092-0/+32
| | | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> Bug 345274 – list of new symbols for each version is missing in docs Patch from Priit Laes * docs/pango-docs.sgml: Generate index of deprecated, and new symbols per version.
* Bug 346297 – autogen doesn't work with automake-1.6 Patch from PriitBehdad Esfahbod2006-07-083-2/+9
| | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> Bug 346297 – autogen doesn't work with automake-1.6 Patch from Priit Laes * autogen.sh, configure.in: Require automake 1.7.
* Fix silly error in implementation of pango_glyph_string_get_width(), andBehdad Esfahbod2006-07-086-11/+17
| | | | | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> * pango/glyphstring.c (pango_glyph_string_get_width): * pango/pango-glyph.h: * pango/pango-layout.c (pango_layout_line_index_to_x), (pango_layout_line_x_to_index), (pango_layout_line_get_x_ranges): * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix silly error in implementation of pango_glyph_string_get_width(), and also remove unused font parameter from its signature.
* Remove obsolete checks for varargs that were preivously used by theBehdad Esfahbod2006-07-082-17/+6
| | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> * configure.in: Remove obsolete checks for varargs that were preivously used by the OpenType code, but are not needed with HarfBuzz anymore.
* Fix doc typo.Behdad Esfahbod2006-07-081-1/+1
|
* Part of Bug 135683 – Cache glyphstring extentsBehdad Esfahbod2006-07-082-22/+16
| | | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> Part of Bug 135683 – Cache glyphstring extents * pango/pango-layout.c (pango_layout_line_index_to_x), (pango_layout_line_x_to_index), (pango_layout_line_get_x_ranges): Use pango_glyph_string_get_width in most places in PangoLayout.
* Part of Bug 135683 – Cache glyphstring extentsBehdad Esfahbod2006-07-088-18/+71
| | | | | | | | | | | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> Part of Bug 135683 – Cache glyphstring extents * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: * pango/pango.def: * pango/pango-glyph.h: * pango/glyphstring.c (pango_glyph_string_get_width): New function. Much faster than calling pango_glyph_string_extents and using logical_rect.width. * pango/pango-renderer.c (add_underline), (add_strikethrough), (pango_renderer_draw_layout_line): Use the new function for optimization.
* Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.cBehdad Esfahbod2006-07-073-7/+27
| | | | | | | | | | | | | | | 2006-07-07 Behdad Esfahbod <behdad@gnome.org> Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c * pango/pango-ot-private.h: Rename PANGO_OT_IS_RULESET is PANGO_IS_OT_RULESET. * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new), (pango_ot_ruleset_add_feature), (pango_ot_ruleset_substitute), (pango_ot_ruleset_position): Use weak pointers to reference ruleset->info, to avoid circular dependency.
* New file. Move all pango_matrix_* stuff into a separate file.Behdad Esfahbod2006-07-074-225/+257
| | | | | | | | 2006-07-07 Behdad Esfahbod <behdad@gnome.org> * pango/pango-matrix.c: New file. * pango/pango-utils.c: Move all pango_matrix_* stuff into a separate file.
* Bug 345600 – cvs build error in pango/opentype/MakefileBehdad Esfahbod2006-06-222-2/+9
| | | | | | | | | 2006-06-22 Behdad Esfahbod <behdad@gnome.org> Bug 345600 – cvs build error in pango/opentype/Makefile * pango/opentype/Makefile.am: Rename variable SOURCES to MAINSOURCES. Some automake versions seem to use it or something.
* Bug 345511 – -no-undefined problem with new libtoolBehdad Esfahbod2006-06-212-2/+12
| | | | | | | | | | 2006-06-21 Behdad Esfahbod <behdad@gnome.org> Bug 345511 – -no-undefined problem with new libtool * configure.in: Remove -no-undefined on non-Win32 systems. That doesn't make any sense, and makes latest libtool not create shared libraries.
* Just call gnome-autogen.sh. The old autogen.sh had poor version checkingBehdad Esfahbod2006-06-2110-101/+64
| | | | | | | | | | | | | | | | 2006-06-21 Behdad Esfahbod <behdad@gnome.org> * autogen.sh: Just call gnome-autogen.sh. The old autogen.sh had poor version checking and was borking with libtool 2.x. * Makefile.am: * configure.in: * pango-zip.sh.in: * pango/Makefile.am: * pango/pango.rc.in: * pango/pangoft2.rc.in: * pango/pangowin32.rc.in: Rename LT_* variables such that autoconf doesn't err on "possibly undefined macros".
* === Released 1.13.2 ===PANGO_1_13_2Behdad Esfahbod2006-06-123-2/+48
| | | | | | | | | | 2006-06-12 Behdad Esfahbod <behdad@gnome.org> * === Released 1.13.2 === * configure.in: Version 1.13.2 * NEWS: Updated.
* Set matrix on the context we create to load minifont.Behdad Esfahbod2006-06-072-4/+18
| | | | | | | 2006-06-07 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Set matrix on the context we create to load minifont.
* Bug 326960 – hex box drawing for win32 and atsui backends of cairoBehdad Esfahbod2006-06-072-14/+29
| | | | | | | | | | | 2006-06-07 Behdad Esfahbod <behdad@gnome.org> Bug 326960 – hex box drawing for win32 and atsui backends of cairo Hans already fixed win32. * pango/pangocairo-atsuifont.c (compute_glyph_extents): Handle PANGO_GLYPH_UNKNOWN_FLAG.
* Bug 343717 – License information in unclear.Behdad Esfahbod2006-06-063-5/+12
| | | | | | | | | 2006-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 343717 – License information in unclear. * modules/arabic/arabic-ot.c, modules/syriac/syriac-ot.c: Fix dual-license information and refer to pango/opentype/COPYING.
* Followup on previous change.Behdad Esfahbod2006-06-063-42/+44
| | | | | | | | | | | | | | | | | 2006-06-06 Behdad Esfahbod <behdad@gnome.org> Followup on previous change. * pango/pango-renderer.c: Note that pango_renderer_draw_rectangle and pango_renderer_draw_error_underline should be called with active renderer. * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Remove excess cairo_save/restore() calls. * pango/pangocairo-render.c (_pango_cairo_do_error_underline): Don't go through renderer.
* Remove the cut&paste reference.Behdad Esfahbod2006-06-061-1/+0
|
* Bug 343355 – Add pango_cairo_show_error_underline &Behdad Esfahbod2006-06-066-131/+237
| | | | | | | | | | | | | | | | | | | | | | 2006-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 343355 – Add pango_cairo_show_error_underline & pango_cairo_error_underline_path Based on patch by LingNing Zhang. * docs/pango-sections.txt, docs/tmpl/pangocairo.sgml, pango/pangocairo.def, pango/pangocairo.h, pango/pangocairo-render.c: New functions pango_cairo_show_error_underline and pango_cairo_error_underline_path. * pango/pangocairo-render.c (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout), (_pango_cairo_do_error_underline), (pango_cairo_show_glyph_string), (pango_cairo_show_layout_line), (pango_cairo_show_layout), (pango_cairo_show_error_underline), (pango_cairo_glyph_string_path), (pango_cairo_layout_line_path), (pango_cairo_layout_path), (pango_cairo_error_underline_path): Merge similar code for pango_cairo_show_* and pango_cairo_*_path functions.
* Bug 343966 – pango Cygwin build fixes Patch from Cygwin PortsBehdad Esfahbod2006-06-063-2/+10
| | | | | | | | | | 2006-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 343966 – pango Cygwin build fixes Patch from Cygwin Ports maintainer. * configure.in: Add missing space. * tests/Makefile.am: Add $(EXEEXT) where appropriate.
* synthesize some italic variants for fonts no having them already. ThisHans Breuer2006-06-052-0/+75
| | | | | | | | 2006-06-05 Hans Breuer <hans@breuer.org> * pango/pangowin32-fontmap.c(pango_win32_font_map_init) : synthesize some italic variants for fonts no having them already. This fixes bug #343796 and for the italic case also bug #110521.
* fixed typo in dateHans Breuer2006-06-051-1/+1
|
* not only handle PANGO_GLYPH_EMPTY but also PANGO_GLYPH_UNKNOWN_FLAG. TheHans Breuer2006-06-054-4/+33
| | | | | | | | | | | | | | | | 2006-05-05 Hans Breuer <hans@breuer.org> * pango/pangocairo-win32font.c(compute_glyph_extents) : not only handle PANGO_GLYPH_EMPTY but also PANGO_GLYPH_UNKNOWN_FLAG. The latter is needed to have proper sizing of the "hex box" for missing glyphs. It also stops cairo complaining about unknown glyphs. Fixes part of bug #343796. * pango/makefile.msc : create $(PRJ_TOP)\config.h.win32. (Not changing in years does not necessarily mean it is not used) * pango/testfonts.c : make family_name survive pango_font_description_free(), it is used later on
* Don't g_return if text == NULL and length == 0.Behdad Esfahbod2006-06-022-1/+6
| | | | | | | 2006-06-02 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c (pango_find_base_dir): Don't g_return if text == NULL and length == 0.
* Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memoryBehdad Esfahbod2006-05-312-1/+10
| | | | | | | | | | | 2006-05-31 Behdad Esfahbod <behdad@gnome.org> Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory and have many cpu usage. Patch from Yong Li. * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): TrueType table offsets are absolute, not relative.
* Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct whenBehdad Esfahbod2006-05-312-15/+31
| | | | | | | | | | | 2006-05-31 Behdad Esfahbod <behdad@gnome.org> Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct when using MarkAttchmentType Patch from Tin Myo Htet. * pango/opentype/harfbuzz-gpos.c (Lookup_MarkMarkPos): Ignore marks of non-matchin attachment type.
* Set absolute_size, since we are using describe_with_absolute_size now...Behdad Esfahbod2006-05-312-1/+6
| | | | | | | 2006-05-31 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Set absolute_size, since we are using describe_with_absolute_size now...
* Bug 333984 – pango_language_from_string improvementsBehdad Esfahbod2006-05-312-24/+26
| | | | | | | | | | | | | | | 2006-05-30 Behdad Esfahbod <behdad@gnome.org> Bug 333984 – pango_language_from_string improvements * pango/pango-utils.c (lang_equal), (lang_hash), (pango_language_from_string): Allow digits in language tags as per RFC-3066, and stop on first invalid char. Previous pango_language_from_string ("en_US.UTF-8") was returning "en-usutf-", now it returns "en-us". * pango/pango-utils.c (pango_language_matches): Allow other common separators in the language list (colon, comma, and space).
* Minor comment typo fix.Behdad Esfahbod2006-05-311-1/+1
|
* Minor.Behdad Esfahbod2006-05-302-5/+4
|
* Bug 125378 – Better underline thickness handlingBehdad Esfahbod2006-05-302-40/+42
| | | | | | | | | 2006-05-30 Behdad Esfahbod <behdad@gnome.org> Bug 125378 – Better underline thickness handling * pango/pango-layout.c (pango_layout_run_get_extents): Include underline in ink extents.
* Fix offset to center the underline in requested rectangle.Behdad Esfahbod2006-05-302-10/+9
| | | | | | | | | | 2006-05-30 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (draw_error_underline): Fix offset to center the underline in requested rectangle. * pango/pangocairo-render.c (pango_cairo_show_glyph_string): Remove unncessary renderer activation and cleanup.
* Doc.Behdad Esfahbod2006-05-281-1/+1
|