platform/upstream/pango.git
16 years agoBug 472629 – Add pango_renderer_get_layout(_line)
Behdad Esfahbod [Wed, 24 Oct 2007 06:37:13 +0000 (06:37 +0000)]
Bug 472629 – Add pango_renderer_get_layout(_line)

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        Bug 472629 – Add pango_renderer_get_layout(_line)

        * pango/pango-renderer.h:
        * pango/pango-renderer.c:
        New public API:

                pango_renderer_get_layout()
                pango_renderer_get_layout_line()

        * pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
        (release_renderer), (_pango_cairo_do_layout_line),
        (_pango_cairo_do_layout): Use above API to simplify
        shape_renderer implementation.

        * pango/pango.def:
        * docs/pango-sections.txt:
        * docs/tmpl/pango-renderer.sgml:
        Update.

svn path=/trunk/; revision=2460

16 years agoFix couple Oopses from my last commit.
Behdad Esfahbod [Wed, 24 Oct 2007 06:34:39 +0000 (06:34 +0000)]
Fix couple Oopses from my last commit.

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-attributes.c: Fix couple Oopses from my last
        commit.

svn path=/trunk/; revision=2459

16 years agoBug 469641 – Initialize attribute start/end to [0..MAXUINT]
Behdad Esfahbod [Wed, 24 Oct 2007 05:43:57 +0000 (05:43 +0000)]
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469641 – Initialize attribute start/end to [0..MAXUINT]

        * pango/pango-attributes.h:
        * pango/pango-attributes.c:
        New public API:

                pango_attribute_init()

        * pango/pango-attributes.c:
        (pango_attr_string_new), (pango_attr_language_new),
        (pango_attr_color_new), (pango_attr_int_new),
        (pango_attr_float_new), (pango_attr_size_new_internal),
        (pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
        Initialize attributes using pango_attribute_init().

        * pango/pango.def:
        * docs/pango-docs.sgml:
        * docs/pango-sections.txt:
        * docs/tmpl/text-attributes.sgml:
        Update.

svn path=/trunk/; revision=2458

16 years agoBug 471577 – GBoxed GType for PangoGlyphItem
Behdad Esfahbod [Wed, 24 Oct 2007 04:50:09 +0000 (04:50 +0000)]
Bug 471577 – GBoxed GType for PangoGlyphItem

2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        Bug 471577 – GBoxed GType for PangoGlyphItem

        * pango/pango-glyph-item.h:
        * pango/pango-glyph-item.c:
        New public API:

                PANGO_TYPE_GLYPH_ITEM
                pango_glyph_item_copy()
                pango_glyph_item_get_type()

        * pango/pango-layout.c:
        New public API:

                pango_layout_iter_copy()

        * pango/fonts.c (pango_font_description_copy),
        (pango_font_description_copy_static),
        (pango_font_description_free), (pango_font_descriptions_free),
        (pango_font_metrics_ref), (pango_font_metrics_unref):
        * pango/glyphstring.c (pango_glyph_string_copy),
        (pango_glyph_string_free):
        * pango/pango-attributes.c (pango_attr_list_ref),
        (pango_attr_list_unref), (pango_attr_list_copy):
        * pango/pango-color.c (pango_color_copy), (pango_color_free):
        * pango/pango-item.c (pango_item_copy), (pango_item_free):
        * pango/pango-layout.c (pango_layout_line_ref),
        (pango_layout_line_unref), (pango_layout_iter_copy),
        (pango_layout_iter_free):
        * pango/pango-layout.h:
        * pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free):
        Update all copy/free functions to accept NULL as legitimate input.
        Previously all were g_return_[val_]if_fail()ing it.

        * pango/pango.def:
        * docs/pango-sections.txt:
        * docs/tmpl/glyphs.sgml:
        * docs/tmpl/layout.sgml:
        Update.

svn path=/trunk/; revision=2457

16 years agoBug 471571 – Add pango_layout_iter_get_layout()
Behdad Esfahbod [Mon, 22 Oct 2007 22:13:53 +0000 (22:13 +0000)]
Bug 471571 – Add pango_layout_iter_get_layout()

2007-10-22  Behdad Esfahbod  <behdad@gnome.org>

        Bug 471571 – Add pango_layout_iter_get_layout()

        * docs/pango-sections.txt:
        * docs/tmpl/layout.sgml:
        * pango/pango-layout.c (pango_layout_iter_get_layout):
        * pango/pango-layout.h:
        * pango/pango.def:
        Add trivial yet missing pango_layout_iter_get_layout().

svn path=/trunk/; revision=2456

16 years agoRemove obsolete comment. PangoLayoutRun is not deprecated. It's just same
Behdad Esfahbod [Mon, 22 Oct 2007 20:50:20 +0000 (20:50 +0000)]
Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same

2007-10-22  Behdad Esfahbod  <behdad@gnome.org>

        * docs/tmpl/layout.sgml: Remove obsolete comment. PangoLayoutRun
        is not deprecated.  It's just same type as PangoGlyphItem.

svn path=/trunk/; revision=2455

16 years agoRemove obsolete comment. PangoLayoutRun is not deprecated. It's just same
Behdad Esfahbod [Mon, 22 Oct 2007 01:53:19 +0000 (01:53 +0000)]
Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same

2007-10-21  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is
        not deprecated.  It's just same type as PangoGlyphItem.

svn path=/trunk/; revision=2454

16 years agoBug 488840 – harfbuzz: protect against ligid overflow
Behdad Esfahbod [Sun, 21 Oct 2007 18:17:02 +0000 (18:17 +0000)]
Bug 488840 – harfbuzz: protect against ligid overflow

2007-10-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 488840 – harfbuzz: protect against ligid overflow

        * pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid):
        Never return zero, even in case of overflow.

        * pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and
        HB_UNLIKELY(), to be filled later.

svn path=/trunk/; revision=2453

16 years agoFixed my email adress in the comment.
Dov Grobgeld [Sat, 20 Oct 2007 23:15:49 +0000 (23:15 +0000)]
Fixed my email adress in the comment.

svn path=/trunk/; revision=2452

16 years agoImplement bezier curve length function that flattens the curve and sum the
Behdad Esfahbod [Sat, 20 Oct 2007 07:51:02 +0000 (07:51 +0000)]
Implement bezier curve length function that flattens the curve and sum the

2007-10-20  Behdad Esfahbod  <behdad@gnome.org>

        * examples/cairotwisted.c (curve_length): Implement bezier curve
        length function that flattens the curve and sum the length of straight
        lines approximating it.

svn path=/trunk/; revision=2451

16 years agoBug 483600 – Leak of font family name in PANGO_1_18_3
Behdad Esfahbod [Mon, 15 Oct 2007 20:09:35 +0000 (20:09 +0000)]
Bug 483600 – Leak of font family name in

2007-10-15  Behdad Esfahbod  <behdad@gnome.org>

        Bug 483600 – Leak of font family name in
        pango_win32_font_description_from_logfont(w)
        Patch from Daniel Atallah

        * pango/pangowin32-fontmap.c
        (pango_win32_font_description_from_logfont),
        (pango_win32_font_description_from_logfontw):
        Free family.

svn path=/trunk/; revision=2446

16 years agoBug 486932 – Apply vkrn GPOS feature in vertical writing
Behdad Esfahbod [Mon, 15 Oct 2007 19:30:02 +0000 (19:30 +0000)]
Bug 486932 – Apply vkrn GPOS feature in vertical writing

2007-10-15  Behdad Esfahbod  <behdad@gnome.org>

        Bug 486932 – Apply vkrn GPOS feature in vertical writing

        * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
        GPOS feature in vertical writing mode.  Previously we had
        no GPOS feature for vertical mode.

svn path=/trunk/; revision=2445

16 years agoBug 481537 – compiler warning fixes Patch from Kjartan Maraas
Behdad Esfahbod [Mon, 15 Oct 2007 17:48:20 +0000 (17:48 +0000)]
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas

2007-10-15  Behdad Esfahbod  <behdad@gnome.org>

        Bug 481537 – compiler warning fixes
        Patch from Kjartan Maraas

        * pango/break.c (pango_get_log_attrs):
        * pango/pango-attributes.c (pango_attr_list_insert_internal):
        * pango/pango-layout.c (process_item), (justify_clusters):
        * pango/pango-markup.c (span_parse_boolean):
        * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
        (pango_ot_ruleset_new):
        * pango/pango-utils.c (pango_scan_int):
        * pango/pangocairo-font.c (_pango_cairo_font_install):
        * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
        * pango/pangoft2.c (load_fallback_face):
        * pango/pangox-fontmap.c (pango_x_get_coverage_win):
        * pango/pangox.c (itemize_string_foreach):
        Fix warnings.

svn path=/trunk/; revision=2444

16 years agoBug 485566 – Cache one OpenType Buffer
Behdad Esfahbod [Thu, 11 Oct 2007 17:21:31 +0000 (17:21 +0000)]
Bug 485566 – Cache one OpenType Buffer

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 485566 – Cache one OpenType Buffer

        * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer),
        (pango_ot_buffer_new), (pango_ot_buffer_destroy):
        * pango/pango-ot-private.h:
        Cache one HB_Buffer that is acquired using a lock.  A new one is
        created if the shared buffer is locked.  The shared buffer is
        cleared when released.  May want to make it free shared buffer if
        buffer->allocated is too large.  Not sure.

svn path=/trunk/; revision=2443

16 years agoMark internal symbols as HB_INTERNAL and define that to static in
Behdad Esfahbod [Thu, 11 Oct 2007 08:30:50 +0000 (08:30 +0000)]
Mark internal symbols as HB_INTERNAL and define that to static in

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Mark internal symbols as HB_INTERNAL and
        define that to static in harfbuzz.c.

        * pango/opentype/harfbuzz-buffer-internal.h: New file.

svn path=/trunk/; revision=2442

16 years agoRemove FTGLUE_API/APIDEF cruft.
Behdad Esfahbod [Thu, 11 Oct 2007 07:46:33 +0000 (07:46 +0000)]
Remove FTGLUE_API/APIDEF cruft.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.

svn path=/trunk/; revision=2441

16 years agoBuild harfbuzz.c instead of individual source files, to let compiler go
Behdad Esfahbod [Thu, 11 Oct 2007 07:45:26 +0000 (07:45 +0000)]
Build harfbuzz.c instead of individual source files, to let compiler go

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/Makefile.am: Build harfbuzz.c instead of individual
        source files, to let compiler go wild with optimizations!

svn path=/trunk/; revision=2440

16 years agoSame here.
Behdad Esfahbod [Thu, 11 Oct 2007 07:34:08 +0000 (07:34 +0000)]
Same here.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz.c: Same here.

svn path=/trunk/; revision=2439

16 years agoDon't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by
Behdad Esfahbod [Thu, 11 Oct 2007 07:33:19 +0000 (07:33 +0000)]
Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in
        libharfbuzz.a.  Those are just used by the harfbuzz-dump tool.

svn path=/trunk/; revision=2438

16 years agoSome more cleanup.
Behdad Esfahbod [Thu, 11 Oct 2007 07:24:47 +0000 (07:24 +0000)]
Some more cleanup.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-buffer.c: Some more cleanup.

svn path=/trunk/; revision=2437

16 years agoMove some code around.
Behdad Esfahbod [Thu, 11 Oct 2007 07:21:31 +0000 (07:21 +0000)]
Move some code around.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-buffer.c: Move some code around.

svn path=/trunk/; revision=2436

16 years agoMinor.
Behdad Esfahbod [Thu, 11 Oct 2007 07:15:16 +0000 (07:15 +0000)]
Minor.

svn path=/trunk/; revision=2435

16 years agoRename buffer->inplace to buffer->separate_out with the inverted meaning,
Behdad Esfahbod [Thu, 11 Oct 2007 07:12:49 +0000 (07:12 +0000)]
Rename buffer->inplace to buffer->separate_out with the inverted meaning,

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to
        buffer->separate_out with the inverted meaning, such that buffer
        is initialization is memset(0).

svn path=/trunk/; revision=2434

16 years agoAllocate buffer->positions lazily.
Behdad Esfahbod [Thu, 11 Oct 2007 07:05:09 +0000 (07:05 +0000)]
Allocate buffer->positions lazily.

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*: Allocate buffer->positions lazily.

svn path=/trunk/; revision=2433

16 years agoBug 485621 – Get rid of freetype memory allocator in harfbuzz
Behdad Esfahbod [Thu, 11 Oct 2007 06:52:07 +0000 (06:52 +0000)]
Bug 485621 – Get rid of freetype memory allocator in harfbuzz

2007-10-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 485621 – Get rid of freetype memory allocator in harfbuzz

        * pango/opentype/*: Remove all occurences of FT_Memory.  Use
        malloc/realloc/free directly.

        * pango/pango-ot*: Update to above.

svn path=/trunk/; revision=2432

16 years agoBug 485559 – Boston Summit HarfBuzz optimizations
Behdad Esfahbod [Thu, 11 Oct 2007 00:07:58 +0000 (00:07 +0000)]
Bug 485559 – Boston Summit HarfBuzz optimizations

2007-10-10  Behdad Esfahbod  <behdad@gnome.org>

        Bug 485559 – Boston Summit HarfBuzz optimizations

        * pango/opentype/*: HarfBuzz hacking to:

          - Rename last remaining FT_Err stuff to HB_Err.

          - Fix a couple invalid table paths to be permissive so
            fonts work better.  Particularly GDEF table for Nafees
            Nastaliq is loaded and works great now.

          - Optimize harfbuzz buffer to not copy/swap for simple
          one-to-one and "copy" GSUB operations.

        * pango/pango-ot*: Update to FT_Err to HB_Err renaming.

svn path=/trunk/; revision=2431

16 years agoImprove docs.
Behdad Esfahbod [Wed, 10 Oct 2007 22:02:04 +0000 (22:02 +0000)]
Improve docs.

svn path=/trunk/; revision=2430

16 years agoAdd empty line between maintainers
Olav Vitters [Fri, 21 Sep 2007 14:18:30 +0000 (14:18 +0000)]
Add empty line between maintainers

svn path=/trunk/; revision=2429

16 years agoFix typo in comments.
Behdad Esfahbod [Fri, 21 Sep 2007 07:42:03 +0000 (07:42 +0000)]
Fix typo in comments.

2007-09-21  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pangofc-fontmap.c: Fix typo in comments.

svn path=/trunk/; revision=2428

16 years ago=== Released 1.18.2 === PANGO_1_18_2
Behdad Esfahbod [Mon, 17 Sep 2007 22:05:46 +0000 (22:05 +0000)]
=== Released 1.18.2 ===

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

16 years agoBug 474708 – pangocairo leaks memory
Behdad Esfahbod [Sat, 8 Sep 2007 00:09:49 +0000 (00:09 +0000)]
Bug 474708 – pangocairo leaks memory

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

16 years agoPart of Bug 474708 – pangocairo leaks memory
Behdad Esfahbod [Sat, 8 Sep 2007 00:05:54 +0000 (00:05 +0000)]
Part of Bug 474708 – pangocairo leaks memory

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

16 years agoSwitch some g_new (*, 1) to g_slice_new ()... I know...
Behdad Esfahbod [Fri, 7 Sep 2007 23:27:11 +0000 (23:27 +0000)]
Switch some g_new (*, 1) to g_slice_new ()... I know...

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

16 years agoSwitch some g_new (*, 1) to g_slice_new ()... I know...
Behdad Esfahbod [Fri, 7 Sep 2007 23:26:49 +0000 (23:26 +0000)]
Switch some g_new (*, 1) to g_slice_new ()... I know...

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

16 years agoPatch from Chris Wilson
Behdad Esfahbod [Fri, 7 Sep 2007 23:05:20 +0000 (23:05 +0000)]
Patch from Chris Wilson

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

16 years agoBug 472891 – Bad consistency check in pango_get_log_attrs
Mathias Hasselmann [Sun, 2 Sep 2007 18:56:21 +0000 (18:56 +0000)]
Bug 472891 – Bad consistency check in pango_get_log_attrs

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

16 years agoMinor
Behdad Esfahbod [Thu, 30 Aug 2007 23:04:22 +0000 (23:04 +0000)]
Minor

svn path=/trunk/; revision=2419

16 years agoBug 302952 – The placement of a diacritic marks for an arabic ligature
Behdad Esfahbod [Wed, 29 Aug 2007 08:46:50 +0000 (08:46 +0000)]
Bug 302952 – The placement of a diacritic marks for an arabic ligature

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

16 years agoMove ruleset initialization to _init() instead of _new().
Behdad Esfahbod [Wed, 29 Aug 2007 02:44:53 +0000 (02:44 +0000)]
Move ruleset initialization to _init() instead of _new().

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

16 years agoBug 410152 – testboundaries test fails
Behdad Esfahbod [Tue, 28 Aug 2007 20:52:00 +0000 (20:52 +0000)]
Bug 410152 – testboundaries test fails

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

16 years ago=== Released 1.18.1 === PANGO_1_18_1
Behdad Esfahbod [Tue, 28 Aug 2007 00:40:26 +0000 (00:40 +0000)]
=== Released 1.18.1 ===

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

16 years agoBug 470042 – missing Macedonian OT tag Patch from Denis Jacquerye
Behdad Esfahbod [Fri, 24 Aug 2007 21:51:03 +0000 (21:51 +0000)]
Bug 470042 – missing Macedonian OT tag Patch from Denis Jacquerye

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

16 years agoBug 468953 – pango-renderer.c: using function without prototype
Behdad Esfahbod [Tue, 21 Aug 2007 23:38:21 +0000 (23:38 +0000)]
Bug 468953 – pango-renderer.c: using function without prototype

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

16 years agoBug 463430 – Gets stuck while "formatting message"
Behdad Esfahbod [Tue, 21 Aug 2007 08:03:26 +0000 (08:03 +0000)]
Bug 463430 – Gets stuck while "formatting message"

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

16 years agoRemove reference to required version of glib. It falls out of synch every
Behdad Esfahbod [Tue, 21 Aug 2007 03:44:31 +0000 (03:44 +0000)]
Remove reference to required version of glib. It falls out of synch every

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

16 years ago=== Released 1.18.0 === PANGO_1_18_0
Behdad Esfahbod [Tue, 21 Aug 2007 03:21:15 +0000 (03:21 +0000)]
=== Released 1.18.0 ===

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

16 years agoRemove use of pango-script-table.h
Behdad Esfahbod [Tue, 21 Aug 2007 03:12:40 +0000 (03:12 +0000)]
Remove use of pango-script-table.h

svn path=/trunk/; revision=2407

16 years agoBug 348348 – Add a way to get the script name of a gunichar
Behdad Esfahbod [Tue, 21 Aug 2007 02:54:05 +0000 (02:54 +0000)]
Bug 348348 – Add a way to get the script name of a gunichar

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

16 years agoDon't ignore error return value of hb_buffer_copy_output_glyph(). Patch
Behdad Esfahbod [Tue, 21 Aug 2007 01:38:07 +0000 (01:38 +0000)]
Don't ignore error return value of hb_buffer_copy_output_glyph(). Patch

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

16 years agoBug 462630 – pango_cairo_context_set_font_options() and some others
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

16 years agoBug 467077 – Remove special-case for shape attribute in
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

16 years agoBug 462420 – Clicking on pixbuf should move the cursor to the position
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

16 years agoBug 467056 – Shape attribute handling is not consistent
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

16 years agoFix another typo
Behdad Esfahbod [Wed, 15 Aug 2007 00:27:37 +0000 (00:27 +0000)]
Fix another typo

svn path=/trunk/; revision=2400

16 years agoFix more typos
Behdad Esfahbod [Wed, 15 Aug 2007 00:20:02 +0000 (00:20 +0000)]
Fix more typos

svn path=/trunk/; revision=2399

16 years agoFix more typos, and use TRUE/FALSE instead of 1/0
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

16 years agoFix typo
Behdad Esfahbod [Tue, 14 Aug 2007 23:57:29 +0000 (23:57 +0000)]
Fix typo

svn path=/trunk/; revision=2397

16 years agoBug 466755 – pango hangul is crashing in gnome-about because it is
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

16 years agoMark G_GNUC_CONST.
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

16 years agoBug 465174 – TextView is ignoring multiple consecutive \t's
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

16 years agoFix typo.
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

16 years agoBug 464270 – ellipsize doesn't work consistent
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

16 years agoAdd Userid field.
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

16 years agoBug 464183 – Minimum tab width enforcement in pango-layout breaks
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

17 years agoMove contents of mapping.c to glyphstring.c where they belong.
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

17 years agoBug 451682 – Cursor positioning for Sinhala is broken Based on patch
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

17 years agoBug 451682 – Cursor positioning for Sinhala is broken Based on patch
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

17 years agoBug 462137 – memory corruption in pango_default_break
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

17 years ago=== Released 1.17.5 ===
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

17 years agoPut cairotwisted in public domain PANGO_1_16_5
Behdad Esfahbod [Thu, 26 Jul 2007 19:22:30 +0000 (19:22 +0000)]
Put cairotwisted in public domain

svn path=/trunk/; revision=2379

17 years agoBug 150883 – Unicode LRO defect
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

17 years agoRemove unused file!
Behdad Esfahbod [Tue, 24 Jul 2007 15:23:12 +0000 (15:23 +0000)]
Remove unused file!

svn path=/trunk/; revision=2377

17 years agoA bit more
Behdad Esfahbod [Sat, 21 Jul 2007 00:51:14 +0000 (00:51 +0000)]
A bit more

svn path=/trunk/; revision=2376

17 years agoPart of Bug 347236 – provide pango_cairo_font_get_scaled_font
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

17 years agoOops
Behdad Esfahbod [Fri, 20 Jul 2007 23:54:34 +0000 (23:54 +0000)]
Oops

svn path=/trunk/; revision=2374

17 years agoBug 449482 – Build error when xft not present
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

17 years agoUpdate copyright headers.
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

17 years agoRemove list of supported scripts. Supporting all is what we really want
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

17 years agoRemove unused empty header file basic-common.h
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

17 years ago=== Released 1.17.4 ===
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

17 years agoBug 451547 – FAIL: runtests.sh
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

17 years agoMove the remaining uses of font_id from PangoCairoATSUIFont to
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

17 years agoBug 449543 - Ship pangoatsui.h
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

17 years agoAdd missing types.
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

17 years agoAdd G_UNLIKELY() to type registration block in _get_type() functions.
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

17 years agominor whitespace fix.
Behdad Esfahbod [Wed, 20 Jun 2007 18:52:49 +0000 (18:52 +0000)]
minor whitespace fix.

svn path=/trunk/; revision=2363

17 years agoUpdate.
Behdad Esfahbod [Wed, 20 Jun 2007 18:27:44 +0000 (18:27 +0000)]
Update.

svn path=/trunk/; revision=2362

17 years ago=== Released 1.17.3 === PANGO_1_17_3
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

17 years agoBug 448342 – pango_layout_index_to_line_x() counts lines from 1
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

17 years agoInclude pangocairo.h too.
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

17 years agoBug 447568 – improve docs on what absolute size means
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

17 years agoClarify docs.
Behdad Esfahbod [Fri, 15 Jun 2007 17:31:34 +0000 (17:31 +0000)]
Clarify docs.

svn path=/trunk/; revision=2356

17 years agoupdated
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

17 years agoCheck for NULL before dereferencing. Patch from Keith Packard.
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

17 years agoBug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
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

17 years agoTypo
Tor Lillqvist [Wed, 13 Jun 2007 20:11:17 +0000 (20:11 +0000)]
Typo

svn path=/trunk/; revision=2352

17 years agoCompare set fields of two font descriptions for equality too, as
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

17 years agoImplement get_font_type().
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

17 years agoImplement PangoCairoWin32FontMap::get_font_type().
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

17 years agoTypo
Tor Lillqvist [Tue, 12 Jun 2007 10:31:23 +0000 (10:31 +0000)]
Typo

svn path=/trunk/; revision=2348