summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* === Released 1.17.4 ===Behdad Esfahbod2007-07-024-10/+19
| | | | | | | | | | | | | 2007-07-02 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.4 === * configure.in: Version 1.17.4 * NEWS: Updated. svn path=/trunk/; revision=2369
* Bug 451547 – FAIL: runtests.shBehdad Esfahbod2007-06-272-0/+12
| | | | | | | | | | | | | 2007-06-27 Behdad Esfahbod <behdad@gnome.org> Bug 451547 – FAIL: runtests.sh * tests/Makefile.am: Don't run tests if cross-compiling. (though cross-compiling tests work under scratchbox, so I'm not quite sure how good this change is.) svn path=/trunk/; revision=2368
* Move the remaining uses of font_id from PangoCairoATSUIFont toRichard Hult2007-06-263-23/+25
| | | | | | | | | | | | 2007-06-26 Richard Hult <richard@imendio.com> * pango/pangoatsui.c: (_pango_atsui_font_set_atsu_font_id): * pango/pangocairo-atsuifont.c: (pango_cairo_atsui_font_create_metrics_for_context), (_pango_cairo_atsui_font_new): Move the remaining uses of font_id from PangoCairoATSUIFont to PangoATSUIFont. svn path=/trunk/; revision=2367
* Bug 449543 - Ship pangoatsui.hRichard Hult2007-06-249-64/+206
| | | | | | | | | | | | | | | | | | | | | | 2007-06-24 Richard Hult <richard@imendio.com> Bug 449543 - Ship pangoatsui.h * pango/pangoatsui-fontmap.c: * pango/pangoatsui-private.h: * pango/pangoatsui.c: * pango/pangoatsui.h: * pango/pangocairo-atsuifont.c: * pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the cairo atsui font class to the atsui base class. Make the members of the atsui font private and adapt all users of them. * pango/Makefile.am: Ship pangoatsui.h. * modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the above changes. svn path=/trunk/; revision=2366
* Add missing types.Behdad Esfahbod2007-06-212-2/+12
| | | | | | | | | 2007-06-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango.types: Add missing types. svn path=/trunk/; revision=2365
* Add G_UNLIKELY() to type registration block in _get_type() functions.Behdad Esfahbod2007-06-2017-23/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-20 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (pango_font_description_get_type), (pango_font_metrics_get_type): * pango/glyphstring.c (pango_glyph_string_get_type): * pango/pango-attributes.c (pango_attr_list_get_type): * pango/pango-color.c (pango_color_get_type): * pango/pango-item.c (pango_item_get_type): * pango/pango-language.c (pango_language_get_type): * pango/pango-layout.c (pango_layout_line_get_type), (pango_layout_iter_get_type): * pango/pango-matrix.c (pango_matrix_get_type): * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pango-tabs.c (pango_tab_array_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_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): Add G_UNLIKELY() to type registration block in _get_type() functions. svn path=/trunk/; revision=2364
* minor whitespace fix.Behdad Esfahbod2007-06-201-3/+3
| | | | svn path=/trunk/; revision=2363
* Update.Behdad Esfahbod2007-06-201-0/+10
| | | | svn path=/trunk/; revision=2362
* === Released 1.17.3 ===PANGO_1_17_3Behdad Esfahbod2007-06-193-1/+44
| | | | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.3 === * configure.in: Version 1.17.3 * NEWS: Updated. svn path=/trunk/; revision=2360
* Bug 448342 – pango_layout_index_to_line_x() counts lines from 1Behdad Esfahbod2007-06-192-1/+8
| | | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 448342 – pango_layout_index_to_line_x() counts lines from 1 * pango/pango-layout.c (pango_layout_index_to_line): Count lines from zero, not one! svn path=/trunk/; revision=2359
* Include pangocairo.h too.Behdad Esfahbod2007-06-193-1/+14
| | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> * configure.in: * tests/cxx-test.C: Include pangocairo.h too. svn path=/trunk/; revision=2358
* Bug 447568 – improve docs on what absolute size meansBehdad Esfahbod2007-06-192-2/+12
| | | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 447568 – improve docs on what absolute size means * pango/fonts.c: Improve docs. svn path=/trunk/; revision=2357
* Clarify docs.Behdad Esfahbod2007-06-151-1/+3
| | | | svn path=/trunk/; revision=2356
* updatedHans Breuer2007-06-152-3/+22
| | | | | | | | | 2007-06-15 Hans Breuer <hans@breuer.org> * pango/makefile.msc : updated svn path=/trunk/; revision=2355
* Check for NULL before dereferencing. Patch from Keith Packard.Behdad Esfahbod2007-06-142-2/+11
| | | | | | | | | | | 2007-06-14 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_private_scaled_font_data_destroy): Check for NULL before dereferencing. Patch from Keith Packard. svn path=/trunk/; revision=2354
* Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULLBehdad Esfahbod2007-06-132-1/+8
| | | | | | | | | | | | 2007-06-13 Behdad Esfahbod <behdad@gnome.org> Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL * pango/fonts.c (pango_font_face_is_synthesized): Fix return value. svn path=/trunk/; revision=2353
* TypoTor Lillqvist2007-06-131-1/+1
| | | | svn path=/trunk/; revision=2352
* Compare set fields of two font descriptions for equality too, asBehdad Esfahbod2007-06-122-1/+10
| | | | | | | | | | | | 2007-06-12 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.c (pango_attr_font_desc_equal): Compare set fields of two font descriptions for equality too, as pango_font_description_equal() doesn't check the mask. svn path=/trunk/; revision=2351
* Implement get_font_type().Richard Hult2007-06-122-0/+12
| | | | | | | | | 2007-06-12 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifontmap.c: Implement get_font_type(). svn path=/trunk/; revision=2350