Behdad Esfahbod [Wed, 15 Aug 2007 20:08:21 +0000 (20:08 +0000)]
Bug 462630 – pango_cairo_context_set_font_options() and some others
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
Behdad Esfahbod [Wed, 15 Aug 2007 20:04:15 +0000 (20:04 +0000)]
Bug 467077 – Remove special-case for shape attribute in
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
Behdad Esfahbod [Wed, 15 Aug 2007 19:41:00 +0000 (19:41 +0000)]
Bug 462420 – Clicking on pixbuf should move the cursor to the position
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
Behdad Esfahbod [Wed, 15 Aug 2007 19:23:54 +0000 (19:23 +0000)]
Bug 467056 – Shape attribute handling is not consistent
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
Behdad Esfahbod [Wed, 15 Aug 2007 00:27:37 +0000 (00:27 +0000)]
Fix another typo
svn path=/trunk/; revision=2400
Behdad Esfahbod [Wed, 15 Aug 2007 00:20:02 +0000 (00:20 +0000)]
Fix more typos
svn path=/trunk/; revision=2399
Behdad Esfahbod [Wed, 15 Aug 2007 00:14:53 +0000 (00:14 +0000)]
Fix more typos, and use TRUE/FALSE instead of 1/0
svn path=/trunk/; revision=2398
Behdad Esfahbod [Tue, 14 Aug 2007 23:57:29 +0000 (23:57 +0000)]
Fix typo
svn path=/trunk/; revision=2397
Behdad Esfahbod [Tue, 14 Aug 2007 23:51:20 +0000 (23:51 +0000)]
Bug 466755 – pango hangul is crashing in gnome-about because it is
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
Behdad Esfahbod [Tue, 14 Aug 2007 23:46:58 +0000 (23:46 +0000)]
Mark G_GNUC_CONST.
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
Behdad Esfahbod [Thu, 9 Aug 2007 21:00:50 +0000 (21:00 +0000)]
Bug 465174 – TextView is ignoring multiple consecutive \t's
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
Behdad Esfahbod [Wed, 8 Aug 2007 22:33:34 +0000 (22:33 +0000)]
Fix typo.
2007-08-08 Behdad Esfahbod <behdad@gnome.org>
* docs/check.docs: Fix typo.
svn path=/trunk/; revision=2393
Behdad Esfahbod [Wed, 8 Aug 2007 00:00:37 +0000 (00:00 +0000)]
Bug 464270 – ellipsize doesn't work consistent
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
Behdad Esfahbod [Tue, 7 Aug 2007 22:45:31 +0000 (22:45 +0000)]
Add Userid field.
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
* MAINTAINERS: Add Userid field.
svn path=/trunk/; revision=2391
Behdad Esfahbod [Tue, 7 Aug 2007 18:40:05 +0000 (18:40 +0000)]
Bug 464183 – Minimum tab width enforcement in pango-layout breaks
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
Behdad Esfahbod [Wed, 1 Aug 2007 18:52:01 +0000 (18:52 +0000)]
Move contents of mapping.c to glyphstring.c where they belong.
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
Behdad Esfahbod [Wed, 1 Aug 2007 18:33:53 +0000 (18:33 +0000)]
Bug 451682 – Cursor positioning for Sinhala is broken Based on patch
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
Behdad Esfahbod [Tue, 31 Jul 2007 18:51:21 +0000 (18:51 +0000)]
Bug 451682 – Cursor positioning for Sinhala is broken Based on patch
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
Behdad Esfahbod [Tue, 31 Jul 2007 18:06:16 +0000 (18:06 +0000)]
Bug 462137 – memory corruption in pango_default_break
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
Behdad Esfahbod [Mon, 30 Jul 2007 18:04:39 +0000 (18:04 +0000)]
=== Released 1.17.5 ===
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
Behdad Esfahbod [Thu, 26 Jul 2007 19:22:30 +0000 (19:22 +0000)]
Put cairotwisted in public domain
svn path=/trunk/; revision=2379
Behdad Esfahbod [Tue, 24 Jul 2007 23:10:16 +0000 (23:10 +0000)]
Bug 150883 – Unicode LRO defect
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
Behdad Esfahbod [Tue, 24 Jul 2007 15:23:12 +0000 (15:23 +0000)]
Remove unused file!
svn path=/trunk/; revision=2377
Behdad Esfahbod [Sat, 21 Jul 2007 00:51:14 +0000 (00:51 +0000)]
A bit more
svn path=/trunk/; revision=2376
Behdad Esfahbod [Sat, 21 Jul 2007 00:49:55 +0000 (00:49 +0000)]
Part of Bug 347236 – provide pango_cairo_font_get_scaled_font
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
Behdad Esfahbod [Fri, 20 Jul 2007 23:54:34 +0000 (23:54 +0000)]
Oops
svn path=/trunk/; revision=2374
Behdad Esfahbod [Fri, 20 Jul 2007 23:43:49 +0000 (23:43 +0000)]
Bug 449482 – Build error when xft not present
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
Behdad Esfahbod [Fri, 20 Jul 2007 23:41:44 +0000 (23:41 +0000)]
Update copyright headers.
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
Behdad Esfahbod [Mon, 9 Jul 2007 23:22:11 +0000 (23:22 +0000)]
Remove list of supported scripts. Supporting all is what we really want
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
Behdad Esfahbod [Thu, 5 Jul 2007 16:33:53 +0000 (16:33 +0000)]
Remove unused empty header file basic-common.h
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
Behdad Esfahbod [Mon, 2 Jul 2007 16:56:49 +0000 (16:56 +0000)]
=== Released 1.17.4 ===
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
Behdad Esfahbod [Wed, 27 Jun 2007 20:29:00 +0000 (20:29 +0000)]
Bug 451547 – FAIL: runtests.sh
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
Richard Hult [Tue, 26 Jun 2007 17:38:15 +0000 (17:38 +0000)]
Move the remaining uses of font_id from PangoCairoATSUIFont to
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
Richard Hult [Sun, 24 Jun 2007 19:55:47 +0000 (19:55 +0000)]
Bug 449543 - Ship pangoatsui.h
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
Behdad Esfahbod [Thu, 21 Jun 2007 17:51:57 +0000 (17:51 +0000)]
Add missing types.
2007-06-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango.types: Add missing types.
svn path=/trunk/; revision=2365
Behdad Esfahbod [Wed, 20 Jun 2007 20:27:55 +0000 (20:27 +0000)]
Add G_UNLIKELY() to type registration block in _get_type() functions.
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
Behdad Esfahbod [Wed, 20 Jun 2007 18:52:49 +0000 (18:52 +0000)]
minor whitespace fix.
svn path=/trunk/; revision=2363
Behdad Esfahbod [Wed, 20 Jun 2007 18:27:44 +0000 (18:27 +0000)]
Update.
svn path=/trunk/; revision=2362
Behdad Esfahbod [Tue, 19 Jun 2007 03:40:45 +0000 (03:40 +0000)]
=== Released 1.17.3 ===
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
Behdad Esfahbod [Tue, 19 Jun 2007 03:39:01 +0000 (03:39 +0000)]
Bug 448342 – pango_layout_index_to_line_x() counts lines from 1
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
Behdad Esfahbod [Tue, 19 Jun 2007 03:27:12 +0000 (03:27 +0000)]
Include pangocairo.h too.
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
* configure.in:
* tests/cxx-test.C: Include pangocairo.h too.
svn path=/trunk/; revision=2358
Behdad Esfahbod [Tue, 19 Jun 2007 03:26:22 +0000 (03:26 +0000)]
Bug 447568 – improve docs on what absolute size means
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
Behdad Esfahbod [Fri, 15 Jun 2007 17:31:34 +0000 (17:31 +0000)]
Clarify docs.
svn path=/trunk/; revision=2356
Hans Breuer [Fri, 15 Jun 2007 15:26:53 +0000 (15:26 +0000)]
updated
2007-06-15 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : updated
svn path=/trunk/; revision=2355
Behdad Esfahbod [Thu, 14 Jun 2007 05:21:59 +0000 (05:21 +0000)]
Check for NULL before dereferencing. Patch from Keith Packard.
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
Behdad Esfahbod [Wed, 13 Jun 2007 21:31:39 +0000 (21:31 +0000)]
Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
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
Tor Lillqvist [Wed, 13 Jun 2007 20:11:17 +0000 (20:11 +0000)]
Typo
svn path=/trunk/; revision=2352
Behdad Esfahbod [Tue, 12 Jun 2007 17:45:22 +0000 (17:45 +0000)]
Compare set fields of two font descriptions for equality too, as
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
Richard Hult [Tue, 12 Jun 2007 16:59:16 +0000 (16:59 +0000)]
Implement get_font_type().
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifontmap.c: Implement
get_font_type().
svn path=/trunk/; revision=2350
Tor Lillqvist [Tue, 12 Jun 2007 11:47:43 +0000 (11:47 +0000)]
Implement PangoCairoWin32FontMap::get_font_type().
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Implement
PangoCairoWin32FontMap::get_font_type().
svn path=/trunk/; revision=2349
Tor Lillqvist [Tue, 12 Jun 2007 10:31:23 +0000 (10:31 +0000)]
Typo
svn path=/trunk/; revision=2348
Tor Lillqvist [Tue, 12 Jun 2007 10:27:29 +0000 (10:27 +0000)]
Add is_synthetic field.
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h (struct PangoWin32Face: Add
is_synthetic field.
* pango/pangowin32-fontmap.c: Implement is_synthesized.
* pango/pangocairo-win32font.c
* pango/pangocairo-win32fontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
svn path=/trunk/; revision=2347
Behdad Esfahbod [Tue, 12 Jun 2007 05:23:45 +0000 (05:23 +0000)]
Bug 445832 – pango_cairo_update_layout() always invalidates layout
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
Bug 445832 – pango_cairo_update_layout() always invalidates layout
* pango/pangocairo-context.c (_pango_cairo_update_context),
(pango_cairo_update_context), (pango_cairo_update_layout):
Don't invalidate layout if matrix and font options didn't change.
svn path=/trunk/; revision=2346
Behdad Esfahbod [Tue, 12 Jun 2007 00:38:13 +0000 (00:38 +0000)]
Add G_GNUC_CONST and G_GNUC_PURE annotations.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.h:
* pango/pango-font.h:
* pango/pango-glyph.h:
* pango/pango-gravity.h:
* pango/pango-language.h:
* pango/pango-layout.h:
* pango/pango-matrix.h:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
* pango/pango-renderer.h:
* pango/pango-script.h:
* pango/pango-tabs.h:
* pango/pango-utils.h:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.h:
* pango/pangocairo-fc.h:
* pango/pangocairo-private.h:
* pango/pangocairo-win32.h:
* pango/pangocairo.h:
* pango/pangofc-decoder.h:
* pango/pangofc-font.h:
* pango/pangofc-fontmap.h:
* pango/pangoft2-private.h:
* pango/pangoft2.h:
* pango/pangowin32-private.h:
* pango/pangox-private.h:
* pango/pangoxft-render.h:
* pango/pangoxft.h:
Add G_GNUC_CONST and G_GNUC_PURE annotations.
svn path=/trunk/; revision=2345
Behdad Esfahbod [Tue, 12 Jun 2007 00:07:24 +0000 (00:07 +0000)]
New engine public macros:
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h: New engine public macros:
PANGO_OT_TAG_MAKE()
PANGO_OT_TAG_MAKE_FROM_STRING()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446018 – Bus error in the pango_ot_tag_from_language()
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (pango_ot_tag_from_language),
(pango_ot_tag_to_language): Make sure int access is
aligned.
svn path=/trunk/; revision=2344
Richard Hult [Mon, 11 Jun 2007 23:12:09 +0000 (23:12 +0000)]
Implement is_synthesized for the ATSUI backend.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized):
Implement is_synthesized for the ATSUI backend.
svn path=/trunk/; revision=2343
Behdad Esfahbod [Mon, 11 Jun 2007 22:58:50 +0000 (22:58 +0000)]
Bug 440588 – Add pango_font_face_is_synthesized()
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 440588 – Add pango_font_face_is_synthesized()
* pango/pango-font.h:
* pango/fonts.c:
New PangoFontFace method is_synthesized.
New public API:
pango_font_face_is_synthesized()
* pango/pangofc-fontmap.c (pango_fc_face_is_synthesized):
Implement new method.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango/pango.def:
Update.
svn path=/trunk/; revision=2342
Richard Hult [Mon, 11 Jun 2007 22:54:46 +0000 (22:54 +0000)]
Update for the changes to PangoCairoFontMap and PangoCairoFont.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c:
* pango/pangocairo-atsuifontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
svn path=/trunk/; revision=2341
Behdad Esfahbod [Mon, 11 Jun 2007 22:33:01 +0000 (22:33 +0000)]
Bug 446355 – the parsing with pango_parse_markup is not coherent
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446355 – the parsing with pango_parse_markup is not coherent
* pango/pango-markup.c (pango_parse_markup): Use
pango_attr_list_insert() instead of pango_attr_list_change() as
merging adjacent attributes of the same kind is not a safe operation
and can change the derived font of a segment in an unexpected and
incorrect way.
svn path=/trunk/; revision=2340
Behdad Esfahbod [Mon, 11 Jun 2007 18:48:34 +0000 (18:48 +0000)]
Make sure all enabled font backends included (reported by Vincent
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fontmap.c: Make sure all enabled font backends
included (reported by Vincent Isambart).
svn path=/trunk/; revision=2339
Behdad Esfahbod [Mon, 11 Jun 2007 07:53:53 +0000 (07:53 +0000)]
Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* docs/pango_markup.sgml: Add 'gravity', 'gravity_hint', and
'letter_spacing' span attributes.
svn path=/trunk/; revision=2338
Behdad Esfahbod [Mon, 11 Jun 2007 07:47:41 +0000 (07:47 +0000)]
Bug 438801 – underline should add "error" type.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 438801 – underline should add "error" type.
* docs/pango_markup.sgml: Add "error" underline type to docs.
svn path=/trunk/; revision=2337
Behdad Esfahbod [Mon, 11 Jun 2007 03:00:39 +0000 (03:00 +0000)]
Bug 347236 – provide pango_cairo_font_get_scaled_font Bug 347235 – Add
2007-06-10 Behdad Esfahbod <behdad@gnome.org>
Bug 347236 – provide pango_cairo_font_get_scaled_font
Bug 347235 – Add pango_cairo_font_map_get_font_type
Bug 353291 – Provide pango_cairo_font_map_new_for_font_type
* pango/pangocairo-font.c: New public API:
pango_cairo_font_get_scaled_font()
* pango/pangocairo-fontmap.c: New public API:
pango_cairo_font_map_new_for_font_type()
pango_cairo_font_map_get_font_type()
* pango/pangocairo-fcfontmap.c:
Implement get_font_type() method.
* pango/pangocairo.h:
* pango/pangocairo-private.h:
* docs/pango-sections.txt:
* docs/tmpl/pangocairo.sgml:
* pango/pangocairo.def:
Update.
svn path=/trunk/; revision=2336
Behdad Esfahbod [Sun, 10 Jun 2007 00:48:25 +0000 (00:48 +0000)]
Bug 337593 – move glyph extents code (and cache) from pangocairo-*font.c
2007-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 337593 – move glyph extents code (and cache) from
pangocairo-*font.c into pangocairo-font.c
* pango/pangocairo-fontmap.c:
* pango/pangocairo-fcfontmap.c:
Remove per-fontmap renderer. We've not been using it for a while
and there is no reason to use it.
* pango/pangocairo-font.c
* pango/pangocairo-fcfont.c:
Most most code (including glyph extents caching) from fcfont.c to
font.c. Simplifies individual backends a lot. ATSUI and Win32
cairo backends should adapt.
* pango/pangocairo-render.c
* pango/pangocairo-private.h:
Update to reflect above changes.
svn path=/trunk/; revision=2335
Behdad Esfahbod [Sun, 10 Jun 2007 00:42:48 +0000 (00:42 +0000)]
Use G_CONST_RETURN
svn path=/trunk/; revision=2334
Behdad Esfahbod [Tue, 5 Jun 2007 23:43:30 +0000 (23:43 +0000)]
Add missing g_return_if_fail()s. Pointed out by fcrozat.
2007-06-05 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_merge),
(pango_font_description_merge_static),
(pango_font_description_copy),
(pango_font_description_copy_static),
(pango_font_description_hash), (pango_font_description_to_string),
(pango_font_description_to_filename):
Add missing g_return_if_fail()s. Pointed out by fcrozat.
svn path=/trunk/; revision=2333
Behdad Esfahbod [Tue, 5 Jun 2007 02:04:56 +0000 (02:04 +0000)]
Zero glyphs->num_glyphs before calling into shape engine.
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* pango/shape.c (pango_shape): Zero glyphs->num_glyphs before
calling into shape engine.
* pango/pango-engine.c (fallback_engine_shape): Improve, to support
clusters and what not.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Use "pango_script_get_sample_language (PANGO_SCRIPT_LATIN)" instead
of hardcoding "en".
Handle cairo_scaled_font_extents() failure.
svn path=/trunk/; revision=2332
Behdad Esfahbod [Mon, 4 Jun 2007 17:44:10 +0000 (17:44 +0000)]
=== Released 1.17.2 ===
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.2 ===
* configure.in: Version 1.17.2
* NEWS: Updated.
svn path=/trunk/; revision=2330
Behdad Esfahbod [Sun, 3 Jun 2007 20:57:28 +0000 (20:57 +0000)]
Fix various typos reported by Peter Moulder.
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml:
* pango/pango-layout.c (process_item):
* pango/pango-ot-info.c:
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Fix various typos reported by Peter Moulder.
svn path=/trunk/; revision=2329
Behdad Esfahbod [Sun, 3 Jun 2007 20:23:49 +0000 (20:23 +0000)]
Rename pango_ot_ruleset_get_for() to
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
* modules/indic/indic-fc.c (indic_engine_shape):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (thai_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description),
(pango_ot_ruleset_new_from_description):
* pango/pango-ot.h:
* pango/pangoft2.def:
Rename pango_ot_ruleset_get_for() to
pango_ot_ruleset_get_for_description().
New engine API: pango_ot_ruleset_new_from_description().
svn path=/trunk/; revision=2328
Behdad Esfahbod [Sat, 2 Jun 2007 18:54:24 +0000 (18:54 +0000)]
Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break Patch
2007-06-02 Behdad Esfahbod <behdad@gnome.org>
Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break
Patch from Martin Hosken
* pango/pango-script.c: Treat Unknown script like Common and other
non-"real" scripts.
svn path=/trunk/; revision=2326
Behdad Esfahbod [Thu, 31 May 2007 21:28:25 +0000 (21:28 +0000)]
Improve docs.
2007-05-31 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Improve docs.
svn path=/trunk/; revision=2325
Behdad Esfahbod [Mon, 28 May 2007 20:50:56 +0000 (20:50 +0000)]
=== Released 1.17.1 ===
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.1 ===
* configure.in: Version 1.17.1
* NEWS: Updated.
svn path=/trunk/; revision=2323
Behdad Esfahbod [Mon, 28 May 2007 20:33:35 +0000 (20:33 +0000)]
Fix Japanese text. Patch from Ben Konrath
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-mixed.markup:
* pango-view/test-mixed.txt:
Fix Japanese text. Patch from Ben Konrath
svn path=/trunk/; revision=2322
Behdad Esfahbod [Fri, 25 May 2007 17:23:03 +0000 (17:23 +0000)]
Fix wrong Unicode version in header.
2007-05-25 Behdad Esfahbod <behdad@gnome.org>
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
Fix wrong Unicode version in header.
svn path=/trunk/; revision=2321
Behdad Esfahbod [Thu, 24 May 2007 21:07:05 +0000 (21:07 +0000)]
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
2007-05-24 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):
Commit remaining fix for malayalam.
svn path=/trunk/; revision=2320
Behdad Esfahbod [Thu, 24 May 2007 20:57:23 +0000 (20:57 +0000)]
Add stability note.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
Add stability note.
svn path=/trunk/; revision=2319
Behdad Esfahbod [Thu, 24 May 2007 20:17:05 +0000 (20:17 +0000)]
Document how Pango's vertical text support works.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/vertical.sgml: Document how Pango's vertical text support
works.
svn path=/trunk/; revision=2318
Behdad Esfahbod [Wed, 23 May 2007 22:16:16 +0000 (22:16 +0000)]
Part of Bug 440603 – Minor ABI change
2007-05-23 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 440603 – Minor ABI change
* pango/pango-context.c (pango_context_init),
(pango_context_set_language), (pango_context_get_language):
Make itemization use pango_language_get_default() if context has no
language set on it. Ditto for pango_context_get_metrics() if both
input language and context language are NULL.
svn path=/trunk/; revision=2317
Behdad Esfahbod [Wed, 23 May 2007 02:01:15 +0000 (02:01 +0000)]
New test text for N'Ko.
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-nko.txt:
New test text for N'Ko.
svn path=/trunk/; revision=2316
Behdad Esfahbod [Wed, 23 May 2007 01:07:33 +0000 (01:07 +0000)]
Bug 440603 – Minor ABI change
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
Bug 440603 – Minor ABI change
* pango/pango-language.c (pango_language_includes_script):
* pango/pango-ot-tag.c (pango_ot_tag_from_language):
Accept language == NULL as legitimate input.
svn path=/trunk/; revision=2315
Richard Hult [Sun, 20 May 2007 21:13:09 +0000 (21:13 +0000)]
Improve the fix for bug #433805 so that the metrics actually are right,
2007-05-20 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Improve
the fix for bug #433805 so that the metrics actually are right, thanks
to Mitch for noticing and debugging help.
svn path=/trunk/; revision=2314
Behdad Esfahbod [Wed, 16 May 2007 16:13:52 +0000 (16:13 +0000)]
Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
* docs/check.docs:
* pango/check.defs:
Use /bin/sh instead of /bin/bash.
svn path=/trunk/; revision=2313
Behdad Esfahbod [Wed, 16 May 2007 13:44:00 +0000 (13:44 +0000)]
Add a test file showing off OpenType language-system support used with
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-opentype-language.markup:
Add a test file showing off OpenType language-system support
used with DejaVu Sans.
svn path=/trunk/; revision=2312
Behdad Esfahbod [Wed, 16 May 2007 12:36:31 +0000 (12:36 +0000)]
Bug 438814 – synaptic crash with pango 1.17.0
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438814 – synaptic crash with pango 1.17.0
* pango/pango-layout.c (process_item): Make sure we find some break
point even if overflowing the line.
svn path=/trunk/; revision=2311
Behdad Esfahbod [Wed, 16 May 2007 02:02:26 +0000 (02:02 +0000)]
Port to new OpenType APIs. Add standard features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
Port to new OpenType APIs. Add standard features.
svn path=/trunk/; revision=2310
Behdad Esfahbod [Wed, 16 May 2007 01:46:05 +0000 (01:46 +0000)]
Port to new OpenType APIs and cleanup a bit. Add standard features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/thai/Makefile.am:
* modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape),
(thai_make_unknown_glyph):
* modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster),
(thai_set_glyphs):
* modules/thai/thai-shaper.h:
Port to new OpenType APIs and cleanup a bit. Add standard features.
* modules/thai/thai-ot.c:
* modules/thai/thai-ot.h:
Removed. Not needed anymore.
svn path=/trunk/; revision=2309
Behdad Esfahbod [Wed, 16 May 2007 01:44:07 +0000 (01:44 +0000)]
Add bug references
svn path=/trunk/; revision=2308
Behdad Esfahbod [Wed, 16 May 2007 01:43:28 +0000 (01:43 +0000)]
Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern,
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
Port to new OpenType APIs. Add standard features (ccmp,
locl, calt, kern, mark, mkmk).
svn path=/trunk/; revision=2307
Behdad Esfahbod [Wed, 16 May 2007 01:42:03 +0000 (01:42 +0000)]
Add ccmp, locl, calt; kern, mark, and mkmk features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c:
Add ccmp, locl, calt; kern, mark, and mkmk features.
svn path=/trunk/; revision=2306
Behdad Esfahbod [Wed, 16 May 2007 01:41:34 +0000 (01:41 +0000)]
Add new engine API:
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_get_feature_count):
Add new engine API:
pango_ot_ruleset_get_feature_count()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* pango/pangoft2.def:
Updated.
svn path=/trunk/; revision=2305
Behdad Esfahbod [Wed, 16 May 2007 01:39:19 +0000 (01:39 +0000)]
Add new engine API:
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_get_feature_count):
Add new engine API:
pango_ot_ruleset_get_feature_count()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* pango/pangoft2.def:
Updated.
svn path=/trunk/; revision=2304
Behdad Esfahbod [Tue, 15 May 2007 23:29:32 +0000 (23:29 +0000)]
Move ruleset creation after populating buffer.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
Move ruleset creation after populating buffer.
svn path=/trunk/; revision=2303
Behdad Esfahbod [Tue, 15 May 2007 23:27:08 +0000 (23:27 +0000)]
Port to new OpenType APIs.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c (indic_engine_shape), (create):
Port to new OpenType APIs.
svn path=/trunk/; revision=2302
Behdad Esfahbod [Tue, 15 May 2007 23:09:53 +0000 (23:09 +0000)]
Bug 436699 – N'Ko support Patch by Eugeniy Meshcheryakov
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
Bug 436699 – N'Ko support
Patch by Eugeniy Meshcheryakov
* modules/arabic/arabic-fc.c (create):
* modules/arabic/arabic-ot.c (Get_Joining_Class):
Add N'Ko support to the Arabic module.
svn path=/trunk/; revision=2301
Richard Hult [Tue, 15 May 2007 20:14:00 +0000 (20:14 +0000)]
Bug 433805 - [Atsui] Approximate char/digit width width often 0
2007-05-15 Richard Hult <richard@imendio.com>
Bug 433805 - [Atsui] Approximate char/digit width width often 0
* pango/pangocairo-atsuifont.c:
(pango_cairo_atsui_font_get_metrics): Improve the metrics so it really
is average instead of max glyph width. Also keep the metrics per
language in the font so it's not constantly recreated.
(pango_cairo_atsui_font_describe_absolute): Implement.
* pango/pangocairo-atsuifontmap.c: Set default resolution.
svn path=/trunk/; revision=2300
Behdad Esfahbod [Tue, 15 May 2007 05:11:18 +0000 (05:11 +0000)]
Add various test txt files recently added.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am: Add various test txt files recently
added.
* pango-view/test-mixed.markup: A language-tagged version of
test-mixed.txt.
svn path=/trunk/; revision=2299
Behdad Esfahbod [Mon, 14 May 2007 23:48:00 +0000 (23:48 +0000)]
=== Released 1.17.0 ===
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.0 ===
* configure.in: Version 1.17.0
* NEWS: Updated.
svn path=/trunk/; revision=2297
Behdad Esfahbod [Mon, 14 May 2007 23:27:56 +0000 (23:27 +0000)]
Update to api changes
svn path=/trunk/; revision=2296
Behdad Esfahbod [Mon, 14 May 2007 23:10:41 +0000 (23:10 +0000)]
Update.
svn path=/trunk/; revision=2295