platform/upstream/pango.git
16 years agoPart of Bug 97545 – Make pango_default_break follow Unicode TR #29 Patch
Behdad Esfahbod [Thu, 24 Apr 2008 20:00:41 +0000 (20:00 +0000)]
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 Patch

2008-04-24  Behdad Esfahbod  <behdad@gnome.org>

        Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
        Patch from Noah Levitt

        * tests/Makefile.am:
        * tests/runtests.sh.in:
        * tests/testboundaries_ucd.c (count_attrs), (parse_line),
        (attrs_equal), (make_test_string), (do_test), (main):
        Add test driver for UAX#14 and UAX#29 test data from Unicode Character
        Databse.  Just drop the following four files in pango/tests for it to
        use them:

                GraphemeBreakTest.txt
                LineBreakTest.txt
                SentenceBreakTest.txt
                WordBreakTest.txt

svn path=/trunk/; revision=2617

16 years agoMinor optimization.
Behdad Esfahbod [Thu, 24 Apr 2008 17:35:31 +0000 (17:35 +0000)]
Minor optimization.

svn path=/trunk/; revision=2616

16 years agoPart of Bug 97545 – Make pango_default_break follow Unicode TR #29
Behdad Esfahbod [Thu, 24 Apr 2008 17:21:03 +0000 (17:21 +0000)]
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29

2008-04-24  Behdad Esfahbod  <behdad@gnome.org>

        Part of Bug 97545 – Make pango_default_break follow Unicode TR #29

        * pango/break.c (pango_default_break): Make Grapheme Boundary code
        exactly follow UAX#29 of Unicode 5.1.0

svn path=/trunk/; revision=2615

16 years agoUpdate GraphemeBoundary to Unicode 5.1.0. Pretty close now. Passes the
Behdad Esfahbod [Thu, 24 Apr 2008 15:59:50 +0000 (15:59 +0000)]
Update GraphemeBoundary to Unicode 5.1.0. Pretty close now. Passes the

2008-04-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/break.c (pango_default_break): Update GraphemeBoundary to
        Unicode 5.1.0.  Pretty close now.  Passes the TR14 test.

svn path=/trunk/; revision=2614

16 years agoAllow line break at the end of string. UAX#14 rule LB3 says "Always break
Behdad Esfahbod [Thu, 24 Apr 2008 05:28:35 +0000 (05:28 +0000)]
Allow line break at the end of string. UAX#14 rule LB3 says "Always break

2008-04-24  Behdad Esfahbod  <behdad@gnome.org>

        * pango/break.c (pango_default_break): Allow line break at the end of
        string.  UAX#14 rule LB3 says "Always break at the end of text."
        With this test, Pango passes the LineBreakTest.txt, sans the bug in
        the test file that I've already reported to unicoRe.

svn path=/trunk/; revision=2613

16 years agoMinor.
Behdad Esfahbod [Thu, 24 Apr 2008 04:44:21 +0000 (04:44 +0000)]
Minor.

svn path=/trunk/; revision=2612

16 years ago=== Released 1.21.0 === PANGO_1_21_0
Behdad Esfahbod [Tue, 22 Apr 2008 00:32:25 +0000 (00:32 +0000)]
=== Released 1.21.0 ===

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.21.0 ===

        * configure.in: Version 1.21.0

        * NEWS: Updated.

svn path=/trunk/; revision=2610

16 years agoWrap ChangeLog.
Behdad Esfahbod [Tue, 22 Apr 2008 00:20:12 +0000 (00:20 +0000)]
Wrap ChangeLog.

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        * ChangeLog.pre-1-20:
        * Makefile.am:
        Wrap ChangeLog.

svn path=/trunk/; revision=2609

16 years agoGroup bidi stuff together. Add a section in the docs for them.
Behdad Esfahbod [Tue, 22 Apr 2008 00:18:41 +0000 (00:18 +0000)]
Group bidi stuff together. Add a section in the docs for them.

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        * docs/pango-docs.sgml:
        * docs/pango-sections.txt:
        * docs/tmpl/bidi.sgml:
        * docs/tmpl/main.sgml:
        * docs/tmpl/vertical.sgml:
        * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels),
        (pango_unichar_direction), (pango_get_mirror_char):
        * pango/pango-bidi-type.h:
        * pango/pango-types.h:
        * pango/pango-utils.c:
        Group bidi stuff together.  Add a section in the docs for them.

svn path=/trunk/; revision=2608

16 years agoBug 515432 – Add function to get bidirectional character type of a
Behdad Esfahbod [Mon, 21 Apr 2008 23:56:37 +0000 (23:56 +0000)]
Bug 515432 – Add function to get bidirectional character type of a

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 515432 – Add function to get bidirectional character type of a
        unicode character
        Patch from Jürg Billeter

        * docs/pango-sections.txt:
        * docs/tmpl/layout.sgml:
        * docs/tmpl/main.sgml:
        * docs/tmpl/pangocairo.sgml:
        * pango/Makefile.am:
        * pango/pango-bidi-type.c (pango_bidi_type_for_unichar):
        * pango/pango-bidi-type.h:
        * pango/pango-types.h:
        * pango/pango-utils.c (pango_log2vis_get_embedding_levels),
        (pango_unichar_direction):
        * pango/pango.def:
        * pango/pango.h:
        New public API:

                enum PangoBidiType;
                pango_bidi_type_get_type()
                pango_bidi_type_for_unichar()

svn path=/trunk/; revision=2607

16 years agoBug 517119 – Add pango_cairo_create_context()
Behdad Esfahbod [Mon, 21 Apr 2008 22:52:41 +0000 (22:52 +0000)]
Bug 517119 – Add pango_cairo_create_context()

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 517119 – Add pango_cairo_create_context()

        * docs/pango-sections.txt:
        * pango/pangocairo-context.c (pango_cairo_create_context),
        (pango_cairo_create_layout):
        * pango/pangocairo.def:
        * pango/pangocairo.h:
        New public API:

                pango_cairo_create_context()

svn path=/trunk/; revision=2606

16 years agoBug 404416 – pango_layout_get_baseline or something
Behdad Esfahbod [Mon, 21 Apr 2008 22:16:44 +0000 (22:16 +0000)]
Bug 404416 – pango_layout_get_baseline or something

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 404416 – pango_layout_get_baseline or something

        * docs/pango-sections.txt:
        * pango/pango-layout.c (pango_layout_get_baseline):
        * pango/pango-layout.h:
        * pango/pango.def:
        New public API:

                pango_layout_get_baseline()

svn path=/trunk/; revision=2605

16 years agoBug 474706 – cairo hexbox looks ugly
Behdad Esfahbod [Mon, 21 Apr 2008 21:47:47 +0000 (21:47 +0000)]
Bug 474706 – cairo hexbox looks ugly

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 474706 – cairo hexbox looks ugly

        * pango/pangocairo-font.c
        (_pango_cairo_font_private_get_hex_box_info):
        Tweak minifont size a bit.  Also propagate font options correctly.

svn path=/trunk/; revision=2604

16 years agoBug 490669 – add some <span> attribute aliases
Behdad Esfahbod [Mon, 21 Apr 2008 21:26:33 +0000 (21:26 +0000)]
Bug 490669 – add some <span> attribute aliases

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 490669 – add some <span> attribute aliases

        * docs/pango_markup.sgml:
        * pango/pango-markup.c (span_parse_func):
        Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ...

svn path=/trunk/; revision=2603

16 years agoBug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve
Behdad Esfahbod [Mon, 21 Apr 2008 20:48:31 +0000 (20:48 +0000)]
Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve
        current point

        * pango/pangocairo-render.c (_pango_cairo_renderer_draw_box_glyph),
        (_pango_cairo_renderer_draw_unknown_glyph), (acquire_renderer),
        (release_renderer), (save_current_point), (restore_current_point),
        (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line),
        (_pango_cairo_do_layout):
        Preserve current point around pango_cairo_* functions().

svn path=/trunk/; revision=2602

16 years agoRequire cairo >= 1.6.4. Remove compat cruft that were added to support
Behdad Esfahbod [Mon, 21 Apr 2008 19:50:21 +0000 (19:50 +0000)]
Require cairo >= 1.6.4. Remove compat cruft that were added to support

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in:
        * pango/pangocairo-atsui.h:
        * pango/pangocairo-atsuifont.c
        (pango_cairo_atsui_font_create_font_face):
        * pango/pangocairo-fontmap.c
        (pango_cairo_font_map_new_for_font_type):
        Require cairo >= 1.6.4.  Remove compat cruft that were added to
        support older cairo that had cairo-atsui instead of cairo-quartz-font.

svn path=/trunk/; revision=2601

16 years agoBug 514617 – Add pango_cairo_font_map_set_default()
Behdad Esfahbod [Mon, 21 Apr 2008 19:41:40 +0000 (19:41 +0000)]
Bug 514617 – Add pango_cairo_font_map_set_default()

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 514617 – Add pango_cairo_font_map_set_default()

        * docs/pango-sections.txt:
        * docs/tmpl/pangocairo.sgml:
        * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default),
        (pango_cairo_font_map_set_default):
        * pango/pangocairo.def:
        * pango/pangocairo.h:
        New public API:

                pango_cairo_font_map_set_default()

svn path=/trunk/; revision=2600

16 years agoAdd index of new API in 1.22.
Behdad Esfahbod [Mon, 21 Apr 2008 19:27:06 +0000 (19:27 +0000)]
Add index of new API in 1.22.

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        * docs/pango-docs.sgml: Add index of new API in 1.22.

svn path=/trunk/; revision=2599

16 years agoBug 511183 – Add pango_attr_type_get_name()
Behdad Esfahbod [Mon, 21 Apr 2008 19:26:10 +0000 (19:26 +0000)]
Bug 511183 – Add pango_attr_type_get_name()

2008-04-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 511183 – Add pango_attr_type_get_name()

        * docs/pango-sections.txt:
        * docs/tmpl/text-attributes.sgml:
        * pango/pango-attributes.c (pango_attr_type_register),
        (pango_attr_type_get_name):
        * pango/pango-attributes.h:
        * pango/pango.def:
        New public API:

                pango_attr_type_get_name()

svn path=/trunk/; revision=2598

16 years agoWrite err to stderr
Behdad Esfahbod [Mon, 21 Apr 2008 19:24:02 +0000 (19:24 +0000)]
Write err to stderr

svn path=/trunk/; revision=2597

16 years agoWrite out HarfBuzz errors as hex.
Behdad Esfahbod [Mon, 21 Apr 2008 19:03:13 +0000 (19:03 +0000)]
Write out HarfBuzz errors as hex.

2008-04-20  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-ot-info.c (pango_ot_info_get_gdef),
        (pango_ot_info_get_gsub), (pango_ot_info_get_gpos):
        Write out HarfBuzz errors as hex.

svn path=/trunk/; revision=2596

16 years ago=== Released 1.20.2 === PANGO_1_20_2
Behdad Esfahbod [Wed, 9 Apr 2008 18:58:47 +0000 (18:58 +0000)]
=== Released 1.20.2 ===

2008-04-09  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.20.2 ===

        * configure.in: Version 1.20.2

        * NEWS: Updated.

svn path=/trunk/; revision=2592

16 years agoReally fix build without cairo-atsui.
Behdad Esfahbod [Wed, 9 Apr 2008 17:13:00 +0000 (17:13 +0000)]
Really fix build without cairo-atsui.

2008-04-09  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pangocairo-atsui.h:
        * pango/pangocairo-atsuifont.c:
        Really fix build without cairo-atsui.

svn path=/trunk/; revision=2591

16 years ago=== Released 1.20.1 === PANGO_1_20_1
Behdad Esfahbod [Tue, 8 Apr 2008 22:55:17 +0000 (22:55 +0000)]
=== Released 1.20.1 ===

2008-04-08  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.20.1 ===

        * configure.in: Version 1.20.1

        * NEWS: Updated.

svn path=/trunk/; revision=2589

16 years agoMinor.
Behdad Esfahbod [Tue, 8 Apr 2008 22:55:01 +0000 (22:55 +0000)]
Minor.

svn path=/trunk/; revision=2588

16 years agoBug 491553 – Update to Unicode 5.1.0
Behdad Esfahbod [Tue, 8 Apr 2008 22:00:18 +0000 (22:00 +0000)]
Bug 491553 – Update to Unicode 5.1.0

2008-04-08  Behdad Esfahbod  <behdad@gnome.org>

        Bug 491553 – Update to Unicode 5.1.0

        * docs/tmpl/scripts.sgml:
        * pango/mini-fribidi/README:
        * pango/mini-fribidi/fribidi_tab_char_type_2.i:
        * pango/pango-script-lang-table.h:
        * pango/pango-script.h:
        Update to Unicode Character Databse 5.1.0.  This adds new entries to
        the PangoScript enum.  Requires glib >= 2.16.3 for the update Unicode
        data there, but not bumping the requirement in a stable point release.

svn path=/trunk/; revision=2587

16 years agoTry making our OS X stuff compile with latest cairo 1.5.x snapshots that
Behdad Esfahbod [Tue, 8 Apr 2008 21:06:20 +0000 (21:06 +0000)]
Try making our OS X stuff compile with latest cairo 1.5.x snapshots that

2008-04-08  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in:
        * pango/pangocairo-atsui.h:
        * pango/pangocairo-atsuifont.c:
        Try making our OS X stuff compile with latest cairo 1.5.x snapshots
        that renamed cairo-atsui to cairo-quartz-font.

svn path=/trunk/; revision=2586

16 years agoFix check for Carbon/Carbon.h availability. Oops!
Behdad Esfahbod [Tue, 8 Apr 2008 20:58:51 +0000 (20:58 +0000)]
Fix check for Carbon/Carbon.h availability. Oops!

2008-04-08  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Fix check for Carbon/Carbon.h availability.  Oops!

svn path=/trunk/; revision=2585

16 years agoWhen doing ALIGN_CENTER, round line offset to whole pixel if hinting.
Behdad Esfahbod [Fri, 21 Mar 2008 09:27:19 +0000 (09:27 +0000)]
When doing ALIGN_CENTER, round line offset to whole pixel if hinting.

2008-03-21  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c (get_x_offset): When doing ALIGN_CENTER,
        round line offset to whole pixel if hinting.

svn path=/trunk/; revision=2584

16 years agoAdapt the shear matrix for synthesized italic to work with cairo 1.5.13+,
Richard Hult [Tue, 11 Mar 2008 18:05:43 +0000 (18:05 +0000)]
Adapt the shear matrix for synthesized italic to work with cairo 1.5.13+,

2008-03-11  Richard Hult  <richard@imendio.com>

* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
Adapt the shear matrix for synthesized italic to work with cairo
1.5.13+, where the quartz surface has been fixed for transformed
text.

svn path=/trunk/; revision=2583

16 years ago=== Released 1.20.0 === PANGO_1_20_0
Behdad Esfahbod [Mon, 10 Mar 2008 15:36:36 +0000 (15:36 +0000)]
=== Released 1.20.0 ===

2008-03-10  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.20.0 ===

        * configure.in: Version 1.20.0

        * NEWS: Updated.

svn path=/trunk/; revision=2581

16 years agoBug 518084 – Thai is not Virama language Patch from Theppitak
Behdad Esfahbod [Thu, 28 Feb 2008 11:58:33 +0000 (11:58 +0000)]
Bug 518084 – Thai is not Virama language Patch from Theppitak

2008-02-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 518084 – Thai is not Virama language
        Patch from Theppitak Karoonboonyanan

        * pango/break.c: Remove Thai Phinthu from VIRAMA()

svn path=/trunk/; revision=2580

16 years ago=== Released 1.19.4 === PANGO_1_19_4
Behdad Esfahbod [Tue, 26 Feb 2008 01:57:15 +0000 (01:57 +0000)]
=== Released 1.19.4 ===

2008-02-25  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.19.4 ===

        * configure.in: Version 1.19.4

        * NEWS: Updated.

svn path=/trunk/; revision=2578

16 years agoBug 511172 – pango_layout_set_height() with positive height always shows
Behdad Esfahbod [Tue, 26 Feb 2008 01:30:58 +0000 (01:30 +0000)]
Bug 511172 – pango_layout_set_height() with positive height always shows

2008-02-25  Behdad Esfahbod  <behdad@gnome.org>

        Bug 511172 – pango_layout_set_height() with positive height always
        shows at least two lines

        * pango/pango-layout.c (should_ellipsize_current_line),
        (pango_layout_check_lines),
        (pango_layout_get_empty_extents_at_index),
        (pango_layout_line_get_empty_extents):
        Initialize line_height using empty-line extents.

svn path=/trunk/; revision=2577

16 years agoMinor edit.
Tor Lillqvist [Mon, 25 Feb 2008 01:32:21 +0000 (01:32 +0000)]
Minor edit.

svn path=/trunk/; revision=2576

16 years agoBug 515484 -- Uniscribe interface handles surrogate pairs incorrectly
Tor Lillqvist [Mon, 25 Feb 2008 01:26:22 +0000 (01:26 +0000)]
Bug 515484 -- Uniscribe interface handles surrogate pairs incorrectly

2008-02-25  Tor Lillqvist  <tml@novell.com>

Bug 515484 -- Uniscribe interface handles surrogate
pairs incorrectly

* modules/basic/basic-win32.c (itemize_shape_and_place): Pass
correctly offset wchar string to set_up_pango_log_clusters() so
that when it passes the string on to unichar_index() it notices
the surrogate pairs correctly.

svn path=/trunk/; revision=2574

16 years agoBug 515484: Pango on Windows is missing Type 1 font support Patch from
Tor Lillqvist [Sun, 24 Feb 2008 22:04:56 +0000 (22:04 +0000)]
Bug 515484: Pango on Windows is missing Type 1 font support Patch from

2008-02-24  Tor Lillqvist  <tml@novell.com>

Bug 515484: Pango on Windows is missing Type 1
font support
Patch from Adrian Johnson.

* pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field
that tells whether the font has a cmap or not. A Type 1 font
doesn't.

* pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New
static function. Uses GetGlyphIndicesW() to get the glyph indices
for Type 1 fonts. Possibly also TrueType fonts that for some
reason lack the cmap formats we understand.
(pango_win32_font_calc_type1_coverage): New static function. Uses
GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and
possibly TrueType fonts that lack the cmap formats we understand.
(pango_win32_font_get_glyph_index): Set has_cmap to false if the
font doesn't have a cmap. Call
pango_win32_font_get_type1_glyph_index() in that case.
(pango_win32_font_calc_coverage): Set has_cmap to false if the
font doesn't have a cmap. Call
pango_win32_font_calc_type1_coverage() in that case.

* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
Type 1 fonts.
(pango_win32_insert_font): Initialise has_cmap tentativaly to True.

svn path=/trunk/; revision=2573

16 years agoOops, fix the coding style. My editor ate the space...
Kristian Rietveld [Thu, 21 Feb 2008 22:54:56 +0000 (22:54 +0000)]
Oops, fix the coding style.  My editor ate the space...

svn path=/trunk/; revision=2572

16 years agofree the ATSU style and utf16 string at the end.
Kristian Rietveld [Thu, 21 Feb 2008 22:51:28 +0000 (22:51 +0000)]
free the ATSU style and utf16 string at the end.

2008-02-21  Kristian Rietveld  <kris@imendio.com>

* modules/basic/basic-atsui.c (basic_engine_shape): free the
ATSU style and utf16 string at the end.

svn path=/trunk/; revision=2571

16 years agoBug 517083 – pango modules: wrong fallback adding code?
Behdad Esfahbod [Sun, 17 Feb 2008 23:35:59 +0000 (23:35 +0000)]
Bug 517083 – pango modules: wrong fallback adding code?

2008-02-17  Behdad Esfahbod  <behdad@gnome.org>

        Bug 517083 – pango modules: wrong fallback adding code?

        * pango/modules.c (map_add_engine): Fix typo.

svn path=/trunk/; revision=2569

16 years agoImprove docs.
Behdad Esfahbod [Sun, 17 Feb 2008 11:16:24 +0000 (11:16 +0000)]
Improve docs.

2008-02-17  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c: Improve docs.

svn path=/trunk/; revision=2568

16 years agoImprove docs.
Behdad Esfahbod [Fri, 15 Feb 2008 17:45:30 +0000 (17:45 +0000)]
Improve docs.

2008-02-15  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c: Improve docs.

svn path=/trunk/; revision=2567

16 years agoBug 515484: Pango on Windows is missing non-TrueType font support Patch
Tor Lillqvist [Wed, 13 Feb 2008 23:29:12 +0000 (23:29 +0000)]
Bug 515484: Pango on Windows is missing non-TrueType font support Patch

2008-02-14  Tor Lillqvist  <tml@novell.com>

Bug 515484: Pango on Windows is missing non-TrueType
font support
Patch from Adrian Johnson.

* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
OpenType/PS fonts. Interpret the metrics parameter as a
NEWTEXTMETRICW struct and check the ntmFlags field.

svn path=/trunk/; revision=2566

16 years agoindentation.
Sven Neumann [Wed, 13 Feb 2008 16:26:20 +0000 (16:26 +0000)]
indentation.

2008-02-13  Sven Neumann  <sven@gimp.org>

* pango/pangoft2.c: indentation.

svn path=/trunk/; revision=2565

16 years agoBug 515484 – Variable is initialized twice
Dominic Lachowicz [Sun, 10 Feb 2008 21:43:21 +0000 (21:43 +0000)]
Bug 515484 – Variable is initialized twice

2008-02-09  Dominic Lachowicz <domlachowicz@gmail.com>

        Bug 515484 – Variable is initialized twice

        * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage):
        Variable was initialized twice.

svn path=/trunk/; revision=2564

16 years agoBug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not
Behdad Esfahbod [Fri, 8 Feb 2008 23:49:55 +0000 (23:49 +0000)]
Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not

2008-02-08  Behdad Esfahbod  <behdad@gnome.org>

        Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not
        rendered correctly
        Patch from Praveen A

        * modules/indic/indic-ot-class-tables.c:
        * modules/indic/indic-ot.c (indic_ot_reorder):
        "Fix" it.

svn path=/trunk/; revision=2562

16 years agoOops. Add fontconfig cflags/libs with freetype's.
Behdad Esfahbod [Tue, 29 Jan 2008 23:30:03 +0000 (23:30 +0000)]
Oops. Add fontconfig cflags/libs with freetype's.

2008-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Oops.  Add fontconfig cflags/libs with freetype's.

svn path=/trunk/; revision=2561

16 years agoBug 496244 – Don't use freetype-config, use pkg-config
Behdad Esfahbod [Tue, 29 Jan 2008 22:39:16 +0000 (22:39 +0000)]
Bug 496244 – Don't use freetype-config, use pkg-config

2008-01-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 496244 – Don't use freetype-config, use pkg-config

        * configure.in:
        Don't use freetype-config.  Also cleanup lots of old stale macros
        around configure.in.

        * pango-uninstalled.pc.in:
        * pango.pc.in:
        * pangocairo-uninstalled.pc.in:
        * pangocairo.pc.in:
        * pangoft2-uninstalled.pc.in:
        * pangoft2.pc.in:
        * pangowin32.pc.in:
        * pangox-uninstalled.pc.in:
        * pangox.pc.in:
        * pangoxft-uninstalled.pc.in:
        * pangoxft.pc.in:
        And cleaned up all the pkg-config files as a result.

svn path=/trunk/; revision=2560

16 years agoBug 496244 – Don't use freetype-config, use pkg-config
Behdad Esfahbod [Tue, 29 Jan 2008 22:38:29 +0000 (22:38 +0000)]
Bug 496244 – Don't use freetype-config, use pkg-config

2008-01-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 496244 – Don't use freetype-config, use pkg-config

        * configure.in:
        Don't use freetype-config.  Also cleanup lots of old stale macros
        around configure.in.

        * pango-uninstalled.pc.in:
        * pango.pc.in:
        * pangocairo-uninstalled.pc.in:
        * pangocairo.pc.in:
        * pangoft2-uninstalled.pc.in:
        * pangoft2.pc.in:
        * pangowin32.pc.in:
        * pangox-uninstalled.pc.in:
        * pangox.pc.in:
        * pangoxft-uninstalled.pc.in:
        * pangoxft.pc.in:
        And cleaned up all the pkg-config files as a result.

svn path=/trunk/; revision=2559

16 years agoMinor
Behdad Esfahbod [Mon, 28 Jan 2008 21:22:48 +0000 (21:22 +0000)]
Minor

svn path=/trunk/; revision=2558

16 years agoBug 512566 – dont' use deprecated macro Patch from Christian Persch
Behdad Esfahbod [Mon, 28 Jan 2008 20:58:11 +0000 (20:58 +0000)]
Bug 512566 – dont' use deprecated macro Patch from Christian Persch

2008-01-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 512566 – dont' use deprecated macro
        Patch from Christian Persch

        * tests/test-ot-tags.c:
        * tests/testscript.c:
        Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC

svn path=/trunk/; revision=2557

16 years agoadd bug number
Wouter Bolsterlee [Mon, 28 Jan 2008 00:37:56 +0000 (00:37 +0000)]
add bug number

svn path=/trunk/; revision=2556

16 years agoFixed gtk-doc warnings.
Wouter Bolsterlee [Mon, 28 Jan 2008 00:37:21 +0000 (00:37 +0000)]
Fixed gtk-doc warnings.

2008-01-28  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* pango/pango-context.c:
* pango/pango-fontmap.c:
* pango/pango-utils.c:
* pango/pangofc-fontmap.h:
* pango/pangox.c:
* pango/reorder-items.c:

Fixed gtk-doc warnings.

svn path=/trunk/; revision=2555

16 years agoMinor reordering to make debugging easier.
Behdad Esfahbod [Fri, 25 Jan 2008 03:33:41 +0000 (03:33 +0000)]
Minor reordering to make debugging easier.

svn path=/trunk/; revision=2554

16 years agoRemove unused macro
Behdad Esfahbod [Thu, 24 Jan 2008 04:42:24 +0000 (04:42 +0000)]
Remove unused macro

svn path=/trunk/; revision=2553

16 years ago=== Released 1.19.3 === PANGO_1_19_3
Behdad Esfahbod [Tue, 22 Jan 2008 04:01:03 +0000 (04:01 +0000)]
=== Released 1.19.3 ===

2008-01-21  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.19.3 ===

        * configure.in: Version 1.19.3

        * NEWS: Updated.

svn path=/trunk/; revision=2551

16 years agoFix typo.
Behdad Esfahbod [Tue, 22 Jan 2008 03:47:56 +0000 (03:47 +0000)]
Fix typo.

svn path=/trunk/; revision=2550

16 years agoMark behavior as undefined if height is not -1 and ellipsize mode is
Behdad Esfahbod [Tue, 22 Jan 2008 03:31:40 +0000 (03:31 +0000)]
Mark behavior as undefined if height is not -1 and ellipsize mode is

2008-01-21  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c (pango_layout_set_height()): Mark behavior as
        undefined if height is not -1 and ellipsize mode is
        PANGO_ELLIPSIZE_NONE.

svn path=/trunk/; revision=2549

16 years agoBug 508002 – change pango_layout_pixel_extents() to round logical rect
Behdad Esfahbod [Tue, 22 Jan 2008 02:08:36 +0000 (02:08 +0000)]
Bug 508002 – change pango_layout_pixel_extents() to round logical rect

2008-01-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 508002 – change pango_layout_pixel_extents() to round logical rect
        to be inclusive

        * pango/pango-layout.c (pango_layout_get_pixel_extents),
        (pango_layout_line_get_pixel_extents): Round extents to pixels
        inclusively.  That is, pass both ink_rect and logical_rect as first
        argument to pango_extents_to_pixels().

        * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle):
        Fix rounding.

        * pango/pango-types.h:
        * docs/tmpl/glyphs.sgml:
        * pango/pango-utils.c (pango_extents_to_pixels):
        Rename pango_extents_to_pixels() function arguments from @ink_rect and
        @logical_rect to @inclusive and @nearest.  Given that this API is a
        fairly new addition and not commonly used, language bindings are
        encouraged to update their argument names accordingly.  Moreover, they
        are encouraged to wrap this function as two different calls:
        extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or
        similar conventions that best reflect their native language.

svn path=/trunk/; revision=2548

16 years agoRemove COPYING.GPL and COPYING.FTL that are no longer there.
Behdad Esfahbod [Wed, 16 Jan 2008 20:39:29 +0000 (20:39 +0000)]
Remove COPYING.GPL and COPYING.FTL that are no longer there.

2008-01-16  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
        are no longer there.

svn path=/trunk/; revision=2547

16 years agoHarfBuzz was relicensed to a more generous and simpler license. Adapt. See
Behdad Esfahbod [Tue, 15 Jan 2008 22:46:32 +0000 (22:46 +0000)]
HarfBuzz was relicensed to a more generous and simpler license. Adapt. See

2008-01-15  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/*:
        HarfBuzz was relicensed to a more generous and simpler license.
        Adapt.  See pango/opentype/COPYING for the new license which is
        LGPL-compatible.

svn path=/trunk/; revision=2546

16 years agoMinor cleanup.
Behdad Esfahbod [Tue, 15 Jan 2008 20:52:36 +0000 (20:52 +0000)]
Minor cleanup.

2008-01-15  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c (debug), (process_line),
        (pango_layout_line_postprocess): Minor cleanup.

svn path=/trunk/; revision=2545

16 years agoBug 469313 – Add pango_layout_set_height()
Behdad Esfahbod [Tue, 15 Jan 2008 20:24:09 +0000 (20:24 +0000)]
Bug 469313 – Add pango_layout_set_height()

2008-01-15  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469313 – Add pango_layout_set_height()

        * pango/pango-layout.c (get_x_offset),
        (should_ellipsize_current_line), (add_line), (process_line),
        (pango_layout_check_lines), (pango_layout_line_get_width),
        (pango_layout_line_get_x_ranges), (justify_words),
        (pango_layout_line_postprocess):
        Implement height >= 0;  There are still bugs left.  Most notably,
        there will be at least two lines showed no matter how small height is.

svn path=/trunk/; revision=2544

16 years agoMinor.
Behdad Esfahbod [Tue, 15 Jan 2008 01:21:47 +0000 (01:21 +0000)]
Minor.

svn path=/trunk/; revision=2543

16 years agoBug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnit
Behdad Esfahbod [Tue, 15 Jan 2008 01:20:44 +0000 (01:20 +0000)]
Bug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnit

2008-01-14  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469313 – Add pango_layout_set_height()
        Bug 508179 – PangoGlyphUnit confusion

        * pango/pango-layout.h:
        * pango/pango-layout-private.h:
        * pango/pango-layout.c:
        * pango/ellipsize.c (_pango_layout_line_ellipsize):
        New public API:

                pango_layout_set_height()

        See docs for semantics.  Currently only negative height values (number
        of lines) is implemented.

        * pango-view/viewer-render.c (make_layout), (output_body),
        (parse_options):
        Implement --height.

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

2008-01-14  Behdad Esfahbod  <behdad@gnome.org>

        Bug 508179 – PangoGlyphUnit confusion

        * pango/pangowin32.c:
        * pango/glyphstring.c:
        * pango/pango-layout.c (process_item): Remove all traces of
        #PangoGlyphUnit

svn path=/trunk/; revision=2542

16 years agoIgnore indent if aligned center, and document so. This assumption was
Behdad Esfahbod [Tue, 8 Jan 2008 22:55:14 +0000 (22:55 +0000)]
Ignore indent if aligned center, and document so. This assumption was

2008-01-08  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c: Ignore indent if aligned center, and document
        so.  This assumption was present in some places and not the others.
        Fixed now.

svn path=/trunk/; revision=2538

16 years agoBug 508007 – Add option for single-paragraph mode to pango-view
Behdad Esfahbod [Tue, 8 Jan 2008 21:32:27 +0000 (21:32 +0000)]
Bug 508007 – Add option for single-paragraph mode to pango-view

2008-01-08  Behdad Esfahbod  <behdad@gnome.org>

        Bug 508007 – Add option for single-paragraph mode to pango-view

        * pango-view/viewer-render.c (make_layout), (parse_options): Add
        --single-par option to pango-view.

svn path=/trunk/; revision=2537

16 years agoMinor cleanup. Attributes are initialized with start/end_index to apply to
Behdad Esfahbod [Tue, 8 Jan 2008 20:52:44 +0000 (20:52 +0000)]
Minor cleanup. Attributes are initialized with start/end_index to apply to

2008-01-08  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c (ensure_tab_width), (process_line),
        (pango_layout_get_effective_attributes),
        (pango_layout_check_lines): Minor cleanup.  Attributes are initialized
        with start/end_index to apply to entire text now, no need to
        initialize them explicitly anymore.

svn path=/trunk/; revision=2536

16 years agoBug 506284 – docs typo for pango_coverage_unref Patch from Christian PANGO_1_18_4
Behdad Esfahbod [Sat, 29 Dec 2007 20:23:31 +0000 (20:23 +0000)]
Bug 506284 – docs typo for pango_coverage_unref Patch from Christian

2007-12-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 506284 – docs typo for pango_coverage_unref
        Patch from Christian Persch

        * pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs.

svn path=/trunk/; revision=2532

16 years agoCheck for dummy man pages in dist-local.
Behdad Esfahbod [Fri, 21 Dec 2007 19:44:37 +0000 (19:44 +0000)]
Check for dummy man pages in dist-local.

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

        * docs/Makefile.am: Check for dummy man pages in dist-local.

svn path=/trunk/; revision=2531

16 years agoBug 504802 – build failure: No rule to make target
Behdad Esfahbod [Fri, 21 Dec 2007 19:40:06 +0000 (19:40 +0000)]
Bug 504802 – build failure: No rule to make target

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

        Bug 504802 – build failure: No rule to make target
        `pango-querymodules.1', needed by `all-am'. Stop.

        * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't
        exsits (SVN checkout) and --enable-man is not used.

svn path=/trunk/; revision=2530

16 years agoBug 504585 – pango-querymodules.1 syntax error
Behdad Esfahbod [Thu, 20 Dec 2007 03:06:06 +0000 (03:06 +0000)]
Bug 504585 – pango-querymodules.1 syntax error

2007-12-19  Behdad Esfahbod  <behdad@gnome.org>

        Bug 504585 – pango-querymodules.1 syntax error

        * Makefile.am:
        * docs/Makefile.am:
        * docs/pango-querymodules.1:
        Fix man-page generation rule, also remove pango-querymodules.1 from
        SVN so it's regenerated from XML at dist time.

svn path=/trunk/; revision=2529

16 years agoRed Hat Bug 426178: gtkdoc-scan fails on pango
Behdad Esfahbod [Thu, 20 Dec 2007 00:53:00 +0000 (00:53 +0000)]
Red Hat Bug 426178: gtkdoc-scan fails on pango

2007-12-19  Behdad Esfahbod  <behdad@gnome.org>

         Red Hat Bug 426178: gtkdoc-scan fails on pango

        * docs/pango-sections.txt:
        * pango/pango-ot-private.h:
        * pango/pango-ot.h:
        Make the following symbols available to engines:

                PANGO_IS_OT_INFO
                PANGO_IS_OT_RULESET
                PANGO_OT_INFO
                PANGO_OT_RULESET
                PANGO_TYPE_OT_INFO
                PANGO_TYPE_OT_RULESET
                pango_ot_info_get_type
                pango_ot_ruleset_get_type

svn path=/trunk/; revision=2528

16 years ago=== Released 1.19.2 === PANGO_1_19_2
Behdad Esfahbod [Mon, 17 Dec 2007 18:45:49 +0000 (18:45 +0000)]
=== Released 1.19.2 ===

2007-12-17  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.19.2 ===

        * configure.in: Version 1.19.2

        * NEWS: Updated.

svn path=/trunk/; revision=2526

16 years agouse pkg-config to detect cairo features
Benjamin Otte [Thu, 13 Dec 2007 22:20:49 +0000 (22:20 +0000)]
use pkg-config to detect cairo features

* configure.in: use pkg-config to detect cairo features

svn path=/trunk/; revision=2525

16 years agoBetter fix: set both LIBS and LDFLAGS.
Behdad Esfahbod [Tue, 11 Dec 2007 00:14:54 +0000 (00:14 +0000)]
Better fix: set both LIBS and LDFLAGS.

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

        * configure.in: Better fix: set both LIBS and LDFLAGS.

svn path=/trunk/; revision=2524

16 years agoBug 502926 – pango-1.16.4 configure bug: can fail to accept cairo
Behdad Esfahbod [Mon, 10 Dec 2007 21:41:06 +0000 (21:41 +0000)]
Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo

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

        Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo

        * configure.in: Fix cairo library checking.

svn path=/trunk/; revision=2522

16 years agoImprove pango_cairo_font_map_get_default() docs.
Behdad Esfahbod [Mon, 10 Dec 2007 20:57:06 +0000 (20:57 +0000)]
Improve pango_cairo_font_map_get_default() docs.

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

        * pango/pangocairo-fontmap.c: Improve
        pango_cairo_font_map_get_default() docs.

svn path=/trunk/; revision=2521

16 years agoBug 399573 – replace strtoul in pango-markup.c with pango_scan_int()
Behdad Esfahbod [Mon, 10 Dec 2007 10:56:18 +0000 (10:56 +0000)]
Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()

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

        Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()

        * pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
        improve error message on parse failure.

svn path=/trunk/; revision=2520

16 years agoBug 478914 – Use something invalid instead of '?' when validating input
Behdad Esfahbod [Mon, 10 Dec 2007 08:31:33 +0000 (08:31 +0000)]
Bug 478914 – Use something invalid instead of '?' when validating input

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

        Bug 478914 – Use something invalid instead of '?' when validating
        input text

        * pango/pango-layout.c (pango_layout_set_text): Set invalid input
        bytes to -1, which gives a unichar value of -1, and eventually a
        glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.

        * pango/fonts.c (pango_font_get_glyph_extents),
        (pango_font_get_metrics), (pango_font_get_font_map):
        * pango/modules.c (build_map):
        * pango/pango-context.c (get_script), (get_shaper_and_font),
        (string_from_script), (itemize_state_process_run):
        * pango/pango-coverage.c (pango_coverage_get):
        * pango/pango-impl-utils.h:
        * pango/pango-utils.c:
        * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
        (_pango_cairo_font_private_get_hex_box_info),
        (_pango_cairo_font_private_get_glyph_extents_missing):
        * pango/pangocairo-private.h:
        * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
        (_pango_cairo_renderer_draw_box_glyph),
        (_pango_cairo_renderer_draw_unknown_glyph):
        * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
        * pango/pangoft2-private.h:
        * pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
        (pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
        * pango/pangoft2.c (pango_ft2_font_get_face),
        (pango_ft2_font_get_glyph_extents):
        * pango/pangox.c (pango_x_find_subfont), (pango_x_render):
        * pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
        (get_glyph_extents_missing), (pango_xft_font_get_font):
        * pango/pangoxft-private.h:
        * pango/pangoxft-render.c (get_total_matrix), (draw_box),
        (_pango_xft_renderer_draw_box_glyph),
        (_pango_xft_renderer_draw_unknown_glyph),
        (pango_xft_renderer_draw_glyphs):
        * pango/shape.c (pango_shape):
        Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
        inside.  Also cleanup spewed warnings and warn at the source, where
        we fail to find a shaper, instead of at every location that we see
        a NULL font.

        * pango/pango-font.h:
        * docs/pango-sections.txt:
        * docs/tmpl/glyphs.sgml:
        New public macro:

                PANGO_GLYPH_INVALID_INPUT

svn path=/trunk/; revision=2519

16 years agoMinor doc improvement.
Behdad Esfahbod [Fri, 7 Dec 2007 05:19:28 +0000 (05:19 +0000)]
Minor doc improvement.

svn path=/trunk/; revision=2518

16 years agoOptimize double math.
Behdad Esfahbod [Thu, 6 Dec 2007 02:04:28 +0000 (02:04 +0000)]
Optimize double math.

2007-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * examples/cairotwisted.c (point_on_path): Optimize double math.

svn path=/trunk/; revision=2517

16 years agoBug 501938 – Arabic shaping broken with vertical layout with
Behdad Esfahbod [Thu, 6 Dec 2007 01:41:18 +0000 (01:41 +0000)]
Bug 501938 – Arabic shaping broken with vertical layout with

2007-12-05  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501938 – Arabic shaping broken with vertical layout with
        vertical-hint=line

        * modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into
        equation when deciding whether to shape visually or logically.

svn path=/trunk/; revision=2516

16 years agoFix assertion in pango_gravity_get_rotation().
Behdad Esfahbod [Thu, 6 Dec 2007 01:40:35 +0000 (01:40 +0000)]
Fix assertion in pango_gravity_get_rotation().

2007-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * pango-view/viewer-pangocairo.c (render_callback): Fix assertion
        in pango_gravity_get_rotation().

svn path=/trunk/; revision=2515

16 years agoBug 501575 – Compile errors Patch from Jens Granseuer
Behdad Esfahbod [Wed, 5 Dec 2007 03:41:29 +0000 (03:41 +0000)]
Bug 501575 – Compile errors Patch from Jens Granseuer

2007-12-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501575 – Compile errors
        Patch from Jens Granseuer

        * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
        * pango/pango-utils.c (handle_alias_line):
        Fix C99ism.

svn path=/trunk/; revision=2514

16 years ago=== Released 1.19.1 === PANGO_1_19_1
Behdad Esfahbod [Tue, 4 Dec 2007 00:20:04 +0000 (00:20 +0000)]
=== Released 1.19.1 ===

2007-12-03  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.19.1 ===

        * configure.in: Version 1.19.1

        * NEWS: Updated.

svn path=/trunk/; revision=2512

16 years agoBug 501317 – "and" found where word should be "an"
Behdad Esfahbod [Mon, 3 Dec 2007 21:14:56 +0000 (21:14 +0000)]
Bug 501317 – "and" found where word should be "an"

2007-12-03  Behdad Esfahbod  <behdad@gnome.org>

        Bug 501317 – "and" found where word should be "an"

        * docs/tmpl/layout.sgml: Fix typo.

svn path=/trunk/; revision=2511

16 years agoAdd some more comments to document the math involved.
Behdad Esfahbod [Mon, 3 Dec 2007 07:44:27 +0000 (07:44 +0000)]
Add some more comments to document the math involved.

2007-12-03  Behdad Esfahbod  <behdad@gnome.org>

        * examples/cairotwisted.c: Add some more comments to document
        the math involved.

svn path=/trunk/; revision=2510

16 years agoDocument cairotwisted example.
Behdad Esfahbod [Fri, 30 Nov 2007 18:58:16 +0000 (18:58 +0000)]
Document cairotwisted example.

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

        * examples/cairotwisted.c (two_points_distance), (curve_length),
        (parametrize_path), (point_on_path), (draw_twisted), (main):
        Document cairotwisted example.

svn path=/trunk/; revision=2509

16 years agoUndo accidental change.
Behdad Esfahbod [Fri, 30 Nov 2007 04:31:29 +0000 (04:31 +0000)]
Undo accidental change.

svn path=/trunk/; revision=2508

16 years agoAdd some documentation.
Behdad Esfahbod [Fri, 30 Nov 2007 04:30:46 +0000 (04:30 +0000)]
Add some documentation.

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

        * example/cairo*.c: Add some documentation.

svn path=/trunk/; revision=2507

16 years agoBug 485536 – underline_position can be zero
Behdad Esfahbod [Fri, 30 Nov 2007 04:29:58 +0000 (04:29 +0000)]
Bug 485536 – underline_position can be zero

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

        Bug 485536 – underline_position can be zero

        * pango/pango-utils.c (pango_cairo_quantize_line_geometry):
        Document that returned position may be zero.

        * pango/pangocairo-win32font.c
        (pango_cairo_win32_font_create_metrics_for_context):
        * pango/pangofc-font.c (get_face_metrics):
        Handle case of underline_position==0 after rounding.

svn path=/trunk/; revision=2506

16 years agoBug 500549 – pangocairo.h should include pango.h and cairo.h
Behdad Esfahbod [Thu, 29 Nov 2007 23:59:17 +0000 (23:59 +0000)]
Bug 500549 – pangocairo.h should include pango.h and cairo.h

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

        Bug 500549 – pangocairo.h should include pango.h and cairo.h

        * pango/pangocairo.h: #include <pango/pango.h>

svn path=/trunk/; revision=2505

16 years agoMake it reusable by not hardcoding "pango".
Behdad Esfahbod [Sat, 24 Nov 2007 01:43:45 +0000 (01:43 +0000)]
Make it reusable by not hardcoding "pango".

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

        * docs/check.docs: Make it reusable by not hardcoding "pango".

svn path=/trunk/; revision=2504

16 years agoRemove unused macro.
Behdad Esfahbod [Sat, 24 Nov 2007 01:40:13 +0000 (01:40 +0000)]
Remove unused macro.

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

        * pango/opentype/harfbuzz-impl.c: Remove unused macro.

svn path=/trunk/; revision=2503

16 years agoMinor
Behdad Esfahbod [Sun, 18 Nov 2007 22:34:08 +0000 (22:34 +0000)]
Minor

svn path=/trunk/; revision=2502

16 years agoReplace GNU-specific syntax with more general one.
Behdad Esfahbod [Sun, 18 Nov 2007 22:14:18 +0000 (22:14 +0000)]
Replace GNU-specific syntax with more general one.

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

        * docs/Makefile.am: Replace GNU-specific syntax with more general one.

svn path=/trunk/; revision=2501

16 years agoReplace GNU-specific syntax with more common Makefile.am syntax
Behdad Esfahbod [Sun, 18 Nov 2007 22:10:20 +0000 (22:10 +0000)]
Replace GNU-specific syntax with more common Makefile.am syntax

svn path=/trunk/; revision=2500

16 years agos/CVS/SVN/
Behdad Esfahbod [Sun, 18 Nov 2007 22:09:06 +0000 (22:09 +0000)]
s/CVS/SVN/

svn path=/trunk/; revision=2499

16 years agoFactor out the common code from read_builtin_aliases() and
Tor Lillqvist [Fri, 16 Nov 2007 23:27:07 +0000 (23:27 +0000)]
Factor out the common code from read_builtin_aliases() and

2007-11-16  Tor Lillqvist  <tml@novell.com>

* pango/pango-utils.c (handle_alias_line): Factor out the common
code from read_builtin_aliases() and read_alias_file(). (#492517)

svn path=/trunk/; revision=2498