summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.18.2 ===PANGO_1_18_2Behdad Esfahbod2007-09-173-2/+22
| | | | | | | | | | | | | 2007-09-17 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.2 === * configure.in: Version 1.18.2 * NEWS: Updated. svn path=/trunk/; revision=2426
* Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-082-1/+10
| | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Bug 474708 – pangocairo leaks memory * pango-view/viewer-pangocairo.c (pangocairo_view_create): Use pango_cairo_font_map_new() instead of pango_cairo_font_map_get_default(), so the font map is freed at the end so we can use valgrind to detect leaks without noise. svn path=/trunk/; revision=2425
* Part of Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-089-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Part of Bug 474708 – pangocairo leaks memory * pango/pangocairo-font.c (_pango_cairo_font_private_get_hex_box_info): Fix a couple leaks. * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifontmap.c (pango_cairo_atsui_font_map_finalize): * pango/pangocairo-fc.h: * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize): * pango/pangocairo-win32.h: * pango/pangocairo-win32fontmap.c (pango_cairo_win32_font_map_finalize): Remove unused leftover renderer variable. * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko. svn path=/trunk/; revision=2424
* Switch some g_new (*, 1) to g_slice_new ()... I know...Behdad Esfahbod2007-09-071-7/+14
| | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> * pango/pangox-fontcache.c (free_cache_entry), (pango_x_font_cache_free), (pango_x_font_cache_new), (pango_x_font_cache_load): * pango/pangox-fontmap.c (pango_x_font_map_finalize), (pango_x_insert_font): * pango/pangox.c (free_context_info), (pango_x_get_context), (pango_x_font_init), (pango_x_font_get_metrics), (pango_x_insert_subfont), (free_metrics_info), (pango_x_font_finalize): Switch some g_new (*, 1) to g_slice_new ()... I know... svn path=/trunk/; revision=2423
* Switch some g_new (*, 1) to g_slice_new ()... I know...Behdad Esfahbod2007-09-074-7/+27
| | | | | | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> * pango/pangox-fontcache.c (free_cache_entry), (pango_x_font_cache_free), (pango_x_font_cache_new), (pango_x_font_cache_load): * pango/pangox-fontmap.c (pango_x_font_map_finalize), (pango_x_insert_font): * pango/pangox.c (free_context_info), (pango_x_get_context), (pango_x_font_init), (pango_x_font_get_metrics), (pango_x_insert_subfont), (free_metrics_info), (pango_x_font_finalize): Switch some g_new (*, 1) to g_slice_new ()... I know... svn path=/trunk/; revision=2422
* Patch from Chris WilsonBehdad Esfahbod2007-09-072-2/+8
| | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Patch from Chris Wilson * pango/pangoft2.c (load_fallback_face): Use g_error() instead of g_warning()+exit(). svn path=/trunk/; revision=2421
* Bug 472891 – Bad consistency check in pango_get_log_attrsMathias Hasselmann2007-09-022-1/+7
| | | | | | | | | | | 2007-09-02 Mathias Hasselmann <mathias.hasselmann@gmx.de> Bug 472891 – Bad consistency check in pango_get_log_attrs * pango/break.c: Invert the consistency check. svn path=/trunk/; revision=2420
* MinorBehdad Esfahbod2007-08-301-3/+4
| | | | svn path=/trunk/; revision=2419
* Bug 302952 – The placement of a diacritic marks for an arabic ligatureBehdad Esfahbod2007-08-292-1/+9
| | | | | | | | | | | | | 2007-08-29 Behdad Esfahbod <behdad@gnome.org> Bug 302952 – The placement of a diacritic marks for an arabic ligature is not correct * pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't use zero as allocated ligature id. Zero means no ligature id. svn path=/trunk/; revision=2418
* Move ruleset initialization to _init() instead of _new().Behdad Esfahbod2007-08-292-5/+10
| | | | | | | | | | | 2007-08-28 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-ruleset.c (pango_ot_ruleset_init), (pango_ot_ruleset_new): Move ruleset initialization to _init() instead of _new(). svn path=/trunk/; revision=2417
* Bug 410152 – testboundaries test failsBehdad Esfahbod2007-08-282-1/+7
| | | | | | | | | | | 2007-08-28 Behdad Esfahbod <behdad@gnome.org> Bug 410152 – testboundaries test fails * configure.in: Require libthai >= 0.1.9 svn path=/trunk/; revision=2416
* === Released 1.18.1 ===PANGO_1_18_1Behdad Esfahbod2007-08-283-2/+20
| | | | | | | | | | | | | 2007-08-27 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.1 === * configure.in: Version 1.18.1 * NEWS: Updated. svn path=/trunk/; revision=2414
* Bug 470042 – missing Macedonian OT tag Patch from Denis JacqueryeBehdad Esfahbod2007-08-242-0/+8
| | | | | | | | | | | | 2007-08-24 Behdad Esfahbod <behdad@gnome.org> Bug 470042 – missing Macedonian OT tag Patch from Denis Jacquerye * pango/pango-ot-tag.c: Add Macedoninan language tag. svn path=/trunk/; revision=2413
* Bug 468953 – pango-renderer.c: using function without prototypeBehdad Esfahbod2007-08-212-0/+7
| | | | | | | | | | | 2007-08-21 Behdad Esfahbod <behdad@gnome.org> Bug 468953 – pango-renderer.c: using function without prototype * pango/pango-renderer.c: #include <pango-impl-utils.h> svn path=/trunk/; revision=2412
* Bug 463430 – Gets stuck while "formatting message"Behdad Esfahbod2007-08-213-6/+21
| | | | | | | | | | | | | | | 2007-08-21 Behdad Esfahbod <behdad@gnome.org> Bug 463430 – Gets stuck while "formatting message" * pango/opentype/harfbuzz-gpos.c (Lookup_PairPos1), (Lookup_PairPos2), (Lookup_PairPos), (Do_ContextPos): * pango/opentype/harfbuzz-gsub.c (Do_ContextSubst): Change type of intermediate index variable from FT_UShort to FT_ULong as it was overlowing with more than 65536 glyphs. svn path=/trunk/; revision=2411
* Remove reference to required version of glib. It falls out of synch everyBehdad Esfahbod2007-08-212-2/+7
| | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> * README: Remove reference to required version of glib. It falls out of synch every single time. svn path=/trunk/; revision=2410
* === Released 1.18.0 ===PANGO_1_18_0Behdad Esfahbod2007-08-213-2/+38
| | | | | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> * === Released 1.18.0 === * configure.in: Version 1.18.0 * NEWS: Updated. svn path=/trunk/; revision=2408
* Remove use of pango-script-table.hBehdad Esfahbod2007-08-211-30/+0
| | | | svn path=/trunk/; revision=2407
* Bug 348348 – Add a way to get the script name of a gunicharBehdad Esfahbod2007-08-2111-3139/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> Bug 348348 – Add a way to get the script name of a gunichar * configure.in: Require glib 2.14, for GUnicodeScript stuff. * docs/tmpl/scripts.sgml: Document that #PangoScript is interchangeable with GUnicodeScript. * pango/pango-script.c (pango_script_for_unichar): Use g_unichar_get_script(), and document it. * tools/Makefile.am: * tools/gen-script-table.pl: * pango/Makefile.am: * pango/pango-script-table.h: Remove pango-script-table.h and its generator. * pango/pango-gravity.c (get_script_properties): * pango/pango-language.c (pango_script_get_sample_language): * pango/pango-ot-tag.c (pango_ot_tag_from_script): Protect against unexpected script values. svn path=/trunk/; revision=2406
* Don't ignore error return value of hb_buffer_copy_output_glyph(). PatchBehdad Esfahbod2007-08-212-1/+7
| | | | | | | | | | | 2007-08-20 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Don't ignore error return value of hb_buffer_copy_output_glyph(). Patch sent to harfbuzz-list. svn path=/trunk/; revision=2405
* Bug 462630 – pango_cairo_context_set_font_options() and some othersBehdad Esfahbod2007-08-152-0/+11
| | | | | | | | | | | | 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 462630 – pango_cairo_context_set_font_options() and some others don't have a Since: tag * pango/pangocairo-context.c: Add missing Since tags to docs. svn path=/trunk/; revision=2404
* Bug 467077 – Remove special-case for shape attribute inBehdad Esfahbod2007-08-152-29/+31
| | | | | | | | | | | | | | | 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 467077 – Remove special-case for shape attribute in pango_layout_line_index_to_x() * pango/pango-layout.c (pango_layout_line_index_to_x): Remove special-casing for shape-attribute runs. It all works because pango_glyph_string_index_to_x() is perfectly correct to run on glyphs returned by _pango_shape_shape(). svn path=/trunk/; revision=2403
* Bug 462420 – Clicking on pixbuf should move the cursor to the positionBehdad Esfahbod2007-08-152-15/+16
| | | | | | | | | | | | | | | 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 462420 – Clicking on pixbuf should move the cursor to the position nearest to the click point * pango/pango-layout.c (pango_layout_line_x_to_index): Remove special-casing for shape-attribute runs. It all works because pango_glyph_string_x_to_index() is perfectly correct to run on glyphs returned by _pango_shape_shape(). svn path=/trunk/; revision=2402
* Bug 467056 – Shape attribute handling is not consistentBehdad Esfahbod2007-08-155-114/+123
| | | | | | | | | | | | | | | | | | | 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 467056 – Shape attribute handling is not consistent * pango/pango-impl-utils.h: * pango/pango-layout.c (pango_layout_line_index_to_x), (shape_run), (pango_layout_line_x_to_index), (pango_layout_run_get_extents), (update_run): * pango/pango-renderer.c (pango_renderer_draw_layout_line): * pango/pango-utils.c (_pango_shape_shape), (_pango_shape_get_extents): Fix handling of extents for shaped runs. Previsouly a shaped run with more than one character was not correctly positioned. svn path=/trunk/; revision=2401
* Fix another typoBehdad Esfahbod2007-08-151-1/+1
| | | | svn path=/trunk/; revision=2400
* Fix more typosBehdad Esfahbod2007-08-152-4/+4
| | | | svn path=/trunk/; revision=2399
* Fix more typos, and use TRUE/FALSE instead of 1/0Behdad Esfahbod2007-08-152-5/+5
| | | | svn path=/trunk/; revision=2398
* Fix typoBehdad Esfahbod2007-08-141-1/+1
| | | | svn path=/trunk/; revision=2397
* Bug 466755 – pango hangul is crashing in gnome-about because it isBehdad Esfahbod2007-08-143-19/+62
| | | | | | | | | | | | | | | | | 2007-08-14 Behdad Esfahbod <behdad@gnome.org> Bug 466755 – pango hangul is crashing in gnome-about because it is failing to retrieve a font. * pango/pangofc-font.c (pango_fc_font_real_get_glyph), (pango_fc_font_kern_glyphs), (pango_fc_font_get_raw_extents): Protect against NULL face. * pango/shape.c (pango_shape): Improve error message by writing out shaping engine type name and the text too. svn path=/trunk/; revision=2396
* Mark G_GNUC_CONST.Behdad Esfahbod2007-08-142-1/+5
| | | | | | | | | 2007-08-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script.h (pango_script_for_unichar): Mark G_GNUC_CONST. svn path=/trunk/; revision=2395
* Bug 465174 – TextView is ignoring multiple consecutive \t'sBehdad Esfahbod2007-08-092-7/+14
| | | | | | | | | | | | | | 2007-08-09 Behdad Esfahbod <behdad@gnome.org> Bug 465174 – TextView is ignoring multiple consecutive \t's * pango/pango-layout.c (get_tab_pos), (shape_tab): Fix two problems introduced with fix for bug 464183. The code now semantically matches what it was before changes leading to revision 1734 for the case that user has set no tabs. svn path=/trunk/; revision=2394
* Fix typo.Behdad Esfahbod2007-08-082-1/+5
| | | | | | | | | 2007-08-08 Behdad Esfahbod <behdad@gnome.org> * docs/check.docs: Fix typo. svn path=/trunk/; revision=2393
* Bug 464270 – ellipsize doesn't work consistentBehdad Esfahbod2007-08-083-6/+13
| | | | | | | | | | | | | | 2007-08-07 Behdad Esfahbod <behdad@gnome.org> Bug 464270 – ellipsize doesn't work consistent * pango/pango-glyph-item.c (_pango_glyph_item_iter_prev_cluster): Fix. Was jumping two clusters at a time. Oops! * pango/ellipsize.c (init_state): Minor cleanup. svn path=/trunk/; revision=2392
* Add Userid field.Behdad Esfahbod2007-08-072-0/+6
| | | | | | | | | 2007-08-07 Behdad Esfahbod <behdad@gnome.org> * MAINTAINERS: Add Userid field. svn path=/trunk/; revision=2391
* Bug 464183 – Minimum tab width enforcement in pango-layout breaksBehdad Esfahbod2007-08-072-3/+25
| | | | | | | | | | | | | | 2007-08-07 Behdad Esfahbod <behdad@gnome.org> Bug 464183 – Minimum tab width enforcement in pango-layout breaks TabArray positions Patch by David Trowbridge * pango/pango-layout.c (get_tab_pos), (shape_tab): Don't enforce any minimum space between tabs if tab-array is set on the layout. svn path=/trunk/; revision=2390
* Move contents of mapping.c to glyphstring.c where they belong.Behdad Esfahbod2007-08-015-330/+317
| | | | | | | | | | | | | | | | 2007-08-01 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: * pango/glyphstring.c (pango_glyph_string_index_to_x), (pango_glyph_string_x_to_index): * pango/mapping.c: Move contents of mapping.c to glyphstring.c where they belong. * pango/pango-layout.c (pango_layout_line_x_to_index): Fix typo. svn path=/trunk/; revision=2389
* Bug 451682 – Cursor positioning for Sinhala is broken Based on patchBehdad Esfahbod2007-08-012-1/+9
| | | | | | | | | | | | | 2007-08-01 Behdad Esfahbod <behdad@gnome.org> Bug 451682 – Cursor positioning for Sinhala is broken Based on patch from Harshula * modules/indic/indic-lang.c (indic_engine_break): Fix bug that I introduced in the patch. svn path=/trunk/; revision=2388
* Bug 451682 – Cursor positioning for Sinhala is broken Based on patchBehdad Esfahbod2007-07-313-97/+68
| | | | | | | | | | | | | | 2007-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 451682 – Cursor positioning for Sinhala is broken Based on patch from Harshula * modules/indic/indic-lang.c (not_cursor_position), (indic_engine_break): Clean up cursor position stuff. svn path=/trunk/; revision=2387
* Bug 462137 – memory corruption in pango_default_breakBehdad Esfahbod2007-07-312-1/+11
| | | | | | | | | | | | 2007-07-31 Behdad Esfahbod <behdad@gnome.org> Bug 462137 – memory corruption in pango_default_break * pango/break.c (pango_default_break): Handle the case of an empty string correctly. svn path=/trunk/; revision=2385
* === Released 1.17.5 ===Behdad Esfahbod2007-07-303-1/+18
| | | | | | | | | | | | | 2007-07-30 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.5 === * configure.in: Version 1.17.5 * NEWS: Updated. svn path=/trunk/; revision=2383
* Put cairotwisted in public domainPANGO_1_16_5Behdad Esfahbod2007-07-261-0/+1
| | | | svn path=/trunk/; revision=2379
* Bug 150883 – Unicode LRO defectBehdad Esfahbod2007-07-244-14/+32
| | | | | | | | | | | | | | | 2007-07-24 Behdad Esfahbod <behdad@gnome.org> Bug 150883 – Unicode LRO defect * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/arabic/arabic-ot.c (Get_Joining_Class), (Arabic_Assign_Properties): * modules/arabic/arabic-ot.h: Correctly handle Arabic shaping in left-to-right runs. svn path=/trunk/; revision=2378
* Remove unused file!Behdad Esfahbod2007-07-241-361/+0
| | | | svn path=/trunk/; revision=2377
* A bit moreBehdad Esfahbod2007-07-211-2/+2
| | | | svn path=/trunk/; revision=2376
* Part of Bug 347236 – provide pango_cairo_font_get_scaled_fontBehdad Esfahbod2007-07-2113-27/+84
| | | | | | | | | | | | | | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> Part of Bug 347236 – provide pango_cairo_font_get_scaled_font * docs/Makefile.am: * docs/pango-sections.txt: * docs/tmpl/atsui-fonts.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: * docs/tmpl/pangocairo.sgml: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font): * pango/pangocairo-private.h: * pango/pangocairo.h: Export PangoCairoFont and cleanup various standard macros. svn path=/trunk/; revision=2375
* OopsBehdad Esfahbod2007-07-201-2/+3
| | | | svn path=/trunk/; revision=2374
* Bug 449482 – Build error when xft not presentBehdad Esfahbod2007-07-202-2/+12
| | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> Bug 449482 – Build error when xft not present * docs/Makefile.am: Make docs build without xft. svn path=/trunk/; revision=2373
* Update copyright headers.Behdad Esfahbod2007-07-206-19/+35
| | | | | | | | | | | | | | 2007-07-21 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c: * modules/basic/basic-fc.c: * modules/hebrew/hebrew-fc.c: * modules/syriac/syriac-fc.c: * modules/thai/thai-fc.c: Update copyright headers. svn path=/trunk/; revision=2372
* Remove list of supported scripts. Supporting all is what we really wantBehdad Esfahbod2007-07-092-27/+5
| | | | | | | | | | 2007-07-10 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-atsui.c: Remove list of supported scripts. Supporting all is what we really want and that's already there. svn path=/trunk/; revision=2371
* Remove unused empty header file basic-common.hBehdad Esfahbod2007-07-056-37/+9
| | | | | | | | | | | | | | 2007-07-05 Behdad Esfahbod <behdad@gnome.org> * modules/basic/Makefile.am: * modules/basic/basic-fc.c: * modules/basic/basic-win32.c: * modules/basic/basic-x.c: * modules/basic/basic-common.h: Remove unused empty header file basic-common.h svn path=/trunk/; revision=2370