platform/upstream/pango.git
16 years agoBug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font PANGO_1_20_4 PANGO_1_20_5
Behdad Esfahbod [Sun, 29 Jun 2008 18:30:14 +0000 (18:30 +0000)]
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font

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

        Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font

        * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse
        loops for type 8 lookups.

svn path=/trunk/; revision=2661

16 years agorequire glib trunk (for newer glib-mkenums).
Kristian Rietveld [Thu, 26 Jun 2008 15:30:30 +0000 (15:30 +0000)]
require glib trunk (for newer glib-mkenums).

2008-06-26  Kristian Rietveld  <kris@imendio.com>

* configure.in: require glib trunk (for newer glib-mkenums).

* pango/Makefile.am: when generating pango-enum-types.h use
@ENUMPREFIX@ instead of hard coding the prefix.

svn path=/trunk/; revision=2660

16 years agoBug 540036 – Doesn't link to fontconfig
Behdad Esfahbod [Tue, 24 Jun 2008 20:44:10 +0000 (20:44 +0000)]
Bug 540036 – Doesn't link to fontconfig

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

        Bug 540036 – Doesn't link to fontconfig

        * pango/Makefile.am: Explicitly include FREETYPE_LIBS for pangoxft.

svn path=/trunk/; revision=2659

16 years agoBug 380094 – Fix split matra rendering bug for Kannada language
Behdad Esfahbod [Mon, 23 Jun 2008 21:30:09 +0000 (21:30 +0000)]
Bug 380094 – Fix split matra rendering bug for Kannada language

2008-06-23  Behdad Esfahbod  <behdad@gnome.org>

        Bug 380094 – Fix split matra rendering bug for Kannada language

        * modules/indic/indic-ot-class-tables.c: Fix Indic class for
        U+0C8D and U+0C8E.

svn path=/trunk/; revision=2658

16 years agoInclude "config.h" instead of <config.h> Command used: find -name
Johan Dahlin [Sun, 22 Jun 2008 15:18:49 +0000 (15:18 +0000)]
Include "config.h" instead of <config.h> Command used: find -name

2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
    Command used:
    find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
    Rubberstamped by Behdad

svn path=/trunk/; revision=2657

16 years agoBug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch by
Behdad Esfahbod [Wed, 18 Jun 2008 21:31:22 +0000 (21:31 +0000)]
Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch by

2008-06-18  Behdad Esfahbod  <behdad@gnome.org>

        Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags
        Patch by Harshula

        * modules/indic/indic-ot-class-tables.c: Just freakin' do it.
        I have no idea if it's right or wrong.  Just that I've been
        pestered enough to do it.  Time will tell...

svn path=/trunk/; revision=2656

16 years ago=== Released 1.21.3 === PANGO_1_21_3
Behdad Esfahbod [Mon, 16 Jun 2008 20:40:23 +0000 (20:40 +0000)]
=== Released 1.21.3 ===

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

        * === Released 1.21.3 ===

        * configure.in: Version 1.21.3

        * NEWS: Updated.

svn path=/trunk/; revision=2654

16 years agoBug 538661 – Improve pango_cairo_context_update_context()
Behdad Esfahbod [Mon, 16 Jun 2008 20:08:21 +0000 (20:08 +0000)]
Bug 538661 – Improve pango_cairo_context_update_context()

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

        Bug 538661 – Improve pango_cairo_context_update_context()

        * pango/pangocairo-context.c (_pango_cairo_update_context):
        Relayout only if merged options changed.

svn path=/trunk/; revision=2653

16 years agoBug 536190 – Make pango_fc_font_map_clear_cache() public?
Behdad Esfahbod [Tue, 10 Jun 2008 00:39:07 +0000 (00:39 +0000)]
Bug 536190 – Make pango_fc_font_map_clear_cache() public?

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

        Bug 536190 – Make pango_fc_font_map_clear_cache() public?

        * pango/pangofc-fontmap.c:
        * pango/pangofc-fontmap.h:
        Make pango_fc_font_map_clear_cache() public.

svn path=/trunk/; revision=2652

16 years agoBug 537258 – Add a pango_language_to_string() function
Behdad Esfahbod [Mon, 9 Jun 2008 19:53:20 +0000 (19:53 +0000)]
Bug 537258 – Add a pango_language_to_string() function

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

        Bug 537258 – Add a pango_language_to_string() function

        * docs/tmpl/text-attributes.sgml:
        * pango/pango-language.c (pango_language_to_string):
        * pango/pango-language.h:
        * pango/pango.def:
        Add a function implementation of pango_language_to_string().
        The macro is still available.  To be removed in a cycle or two from
        now. (bug #537466)

svn path=/trunk/; revision=2651

16 years agoBug 537257 – pango_language_from_string(NULL) not happy
Behdad Esfahbod [Mon, 9 Jun 2008 19:39:24 +0000 (19:39 +0000)]
Bug 537257 – pango_language_from_string(NULL) not happy

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

        Bug 537257 – pango_language_from_string(NULL) not happy

        * pango/pango-language.c (pango_language_from_string):
        Allow NULL.

svn path=/trunk/; revision=2650

16 years agoBug 537186 – Make PangoFcFont pattern property readable
Behdad Esfahbod [Mon, 9 Jun 2008 05:51:27 +0000 (05:51 +0000)]
Bug 537186 – Make PangoFcFont pattern property readable

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

        Bug 537186 – Make PangoFcFont pattern property readable

        * pango/pangofc-font.c (pango_fc_font_class_init),
        (pango_fc_font_get_property): Make it readable.

svn path=/trunk/; revision=2649

16 years ago=== Released 1.21.2 === PANGO_1_21_2
Behdad Esfahbod [Mon, 2 Jun 2008 21:40:53 +0000 (21:40 +0000)]
=== Released 1.21.2 ===

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

        * === Released 1.21.2 ===

        * configure.in: Version 1.21.2

        * NEWS: Updated.

svn path=/trunk/; revision=2647

16 years agoBug 510299 – OpenType font variants are broken with ATSUI/Cairo
Behdad Esfahbod [Wed, 28 May 2008 16:43:46 +0000 (16:43 +0000)]
Bug 510299 – OpenType font variants are broken with ATSUI/Cairo

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

        Bug 510299 – OpenType font variants are broken with ATSUI/Cairo

        * pango/fonts.c (field_matches), (find_field): Ignore dashes when
        matching fong description fields.

svn path=/trunk/; revision=2646

16 years agoForgot to mention Normal.
Tor Lillqvist [Tue, 27 May 2008 23:21:56 +0000 (23:21 +0000)]
Forgot to mention Normal.

svn path=/trunk/; revision=2645

16 years agoMap words that indicate weight and slant in the font name into the
Tor Lillqvist [Tue, 27 May 2008 23:12:56 +0000 (23:12 +0000)]
Map words that indicate weight and slant in the font name into the

2008-05-28  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c
(pango_win32_font_description_from_logfont)
(pango_win32_font_description_from_logfontw):
Map words that indicate weight and slant in the font name into the
corresponding Pango font description settings, and strip those
words from the family name. This maps for instance the DejaVu
Sans, DejaVu Sans Condensed and DejaVu Sans Light fonts into a
single DejaVu Sans family with styles Ultra-Light, Condensed,
Oblique Condensed, Oblique, Bold Condensed, Bold, Bold Oblique
Condensed, and Bold Oblique, which is nice.

svn path=/trunk/; revision=2644

16 years agoDetail.
Tor Lillqvist [Tue, 27 May 2008 21:14:00 +0000 (21:14 +0000)]
Detail.

svn path=/trunk/; revision=2643

16 years agoRework face synthesis once again. Code is simpler now, and we don't
Tor Lillqvist [Tue, 27 May 2008 21:13:36 +0000 (21:13 +0000)]
Rework face synthesis once again. Code is simpler now, and we don't

2008-05-28  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c (synthesize_foreach)
(_pango_win32_font_map_init): Rework face synthesis once
again. Code is simpler now, and we don't needlessly synthesize
bold weights for fonts that have a real semi-bold weight, like
Lucida Sans. (The bold weight ended up looking like the semi-bold
anyway.)
(pango_win32_font_description_from_logfont): Recognize the
semi-bold weight interval.

svn path=/trunk/; revision=2642

16 years agoAfter the change to how the standard pseudo font families are set up
Tor Lillqvist [Tue, 27 May 2008 09:17:24 +0000 (09:17 +0000)]
After the change to how the standard pseudo font families are set up

2008-05-27  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
After the change to how the standard pseudo font families are set
up below, we don't need to prune out duplicate face names any
longer.

svn path=/trunk/; revision=2641

16 years agoAdd bug reference to last entry.
Tor Lillqvist [Tue, 27 May 2008 00:38:19 +0000 (00:38 +0000)]
Add bug reference to last entry.

svn path=/trunk/; revision=2640

16 years agoSynthesize also Bold and Bold Italic (or Oblique) faces when feasible.
Tor Lillqvist [Tue, 27 May 2008 00:29:10 +0000 (00:29 +0000)]
Synthesize also Bold and Bold Italic (or Oblique) faces when feasible.

2008-05-27  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c: Synthesize also Bold and Bold Italic
(or Oblique) faces when feasible. Don't synthesize these for
decorative or script fonts. Kill the magic code snippet mentioned
below. Instead, explicitly create font families for the standard
pseudo fonts that correspond to the first existing font of the
corresponding built-in alias list. Use the face style name Oblique
for slanted sans and monospace fonts, not Italic.

svn path=/trunk/; revision=2639

16 years agoPrune duplicated face names. Makes the GTK+ font selector look a bit saner
Tor Lillqvist [Mon, 26 May 2008 21:30:59 +0000 (21:30 +0000)]
Prune duplicated face names. Makes the GTK+ font selector look a bit saner

2008-05-27  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
Prune duplicated face names. Makes the GTK+ font selector look a
bit saner for the "sans", "serif" and "monospace" standard pseudo
font families with just one instance of each style.

That we get duplicated styles in the first place is because of the
magic code snippet in pango_win32_insert_font() that sets up the
list of faces for the standard pseudo font families. I don't like
that code but without it these families wouldn't currently show up
in the font selector at all.

A problem is still that the magic code blindly adds all random
fonts that claim to be FF_ROMAN to the list of faces for the
"serif" family, etc. I think it would be preferrable to do it only
for well-known sensible fonts. That would be those that are listed
in builtin_aliases in pango-utils.c, I guess.

svn path=/trunk/; revision=2638

16 years agopango/pangowin32-private.h Drop the PangoWin32FontMap::n_fonts field which
Tor Lillqvist [Mon, 26 May 2008 20:55:39 +0000 (20:55 +0000)]
pango/pangowin32-private.h Drop the PangoWin32FontMap::n_fonts field which

2008-05-26  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-private.h
* pango/pangowin32-fontmap.c: Drop the PangoWin32FontMap::n_fonts
field which wasn't really used for anything. Rename the field
PangoWin32Family::font_entries to faces. Rename some local
variables to be more consistently named.

svn path=/trunk/; revision=2637

16 years agopango/pangowin32.c Some whitespace cleanup.
Tor Lillqvist [Mon, 26 May 2008 16:26:59 +0000 (16:26 +0000)]
pango/pangowin32.c Some whitespace cleanup.

2008-05-26  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32.c
* pango/pangowin32-fontmap.c: Some whitespace cleanup.

svn path=/trunk/; revision=2636

16 years agopango/pangowin32-private.h Drop the PangoWin32SizeInfo struct and the hash
Tor Lillqvist [Mon, 26 May 2008 16:21:55 +0000 (16:21 +0000)]
pango/pangowin32-private.h Drop the PangoWin32SizeInfo struct and the hash

2008-05-26  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-private.h
* pango/pangowin32-fontmap.c: Drop the PangoWin32SizeInfo struct
and the hash table mapping from the relevant part of a
LOGFONTW struct to a list of PangoWin32SizeInfos in
PangoWin32FontMap. It seems that each list was always of length
one anyway, so instead just map directly to each such single list
member, also a LOGFONTW struct. Actually I wonder whether this map
is needed at all, will have to experiment.

svn path=/trunk/; revision=2635

16 years agoRevert the addition of the alias "sansserif". The correct name is PANGO_1_20_3
Tor Lillqvist [Fri, 23 May 2008 17:37:44 +0000 (17:37 +0000)]
Revert the addition of the alias "sansserif". The correct name is

2008-05-23  Tor Lillqvist  <tml@novell.com>

* pango/pango-utils.c: Revert the addition of the alias
"sansserif". The correct name is "sans-serif", and "sans" should
also be accepted. If something uses "sansserif" it is wrong. (I
saw it in some sample svg files in librsvg.)

svn path=/trunk/; revision=2632

16 years agoAdd alias "sansserif" to the builtin aliases on Win32. Same contents as
Tor Lillqvist [Tue, 20 May 2008 18:33:50 +0000 (18:33 +0000)]
Add alias "sansserif" to the builtin aliases on Win32. Same contents as

2008-05-20  Tor Lillqvist  <tml@novell.com>

* pango/pango-utils.c: Add alias "sansserif" to the builtin
aliases on Win32. Same contents as "sans" and "sans-serif".

svn path=/trunk/; revision=2630

16 years agoBug 523193 - Vista Hebrew, CJK fonts to builtin win32 pango aliases
Tor Lillqvist [Tue, 20 May 2008 18:31:28 +0000 (18:31 +0000)]
Bug 523193 - Vista Hebrew, CJK fonts to builtin win32 pango aliases

2008-05-20  Tor Lillqvist  <tml@novell.com>

Bug 523193 - Vista Hebrew, CJK fonts to builtin win32 pango aliases

Patch by Daniel Atallah.

* pango/pango-utils.c: Add fonts from Vista to the builtin
aliases. Also add Lucida Sans Unicode and Lucida Console.

svn path=/trunk/; revision=2629

16 years agoFix typo.
Behdad Esfahbod [Tue, 13 May 2008 20:26:39 +0000 (20:26 +0000)]
Fix typo.

svn path=/trunk/; revision=2628

16 years ago=== Released 1.21.1 === PANGO_1_21_1
Behdad Esfahbod [Tue, 13 May 2008 17:03:34 +0000 (17:03 +0000)]
=== Released 1.21.1 ===

2008-05-13  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.21.1 ===

        * configure.in: Version 1.21.1

        * NEWS: Updated.

svn path=/trunk/; revision=2626

16 years agoRemove Unicode test files from dist
Behdad Esfahbod [Tue, 13 May 2008 16:44:13 +0000 (16:44 +0000)]
Remove Unicode test files from dist

svn path=/trunk/; revision=2625

16 years agoBug 531242 – Leak when calculating win32 font coverage Patch from Daniel
Behdad Esfahbod [Sat, 3 May 2008 16:26:18 +0000 (16:26 +0000)]
Bug 531242 – Leak when calculating win32 font coverage Patch from Daniel

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

        Bug 531242 – Leak when calculating win32 font coverage
        Patch from Daniel Atallah

        * pango/pangowin32.c (pango_win32_font_calc_coverage): Plug leak.

svn path=/trunk/; revision=2623

16 years agoBug 530757 – Docs build breaks because of hash sign in URL in <ulink...>
Behdad Esfahbod [Wed, 30 Apr 2008 18:13:15 +0000 (18:13 +0000)]
Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>

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

        Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>

        * docs/tmpl/main.sgml: Make it build.

svn path=/trunk/; revision=2622

16 years agoBug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4
Behdad Esfahbod [Wed, 30 Apr 2008 16:59:52 +0000 (16:59 +0000)]
Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4

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

        Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4

        * configure.in: Be more verbose about cairo font backends found.

svn path=/trunk/; revision=2621

16 years agoWait for convert(1) to finish. Patch by Jamie Guinan.
Behdad Esfahbod [Mon, 28 Apr 2008 16:42:55 +0000 (16:42 +0000)]
Wait for convert(1) to finish. Patch by Jamie Guinan.

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

        * pango-view/viewer-main.c (main): Wait for convert(1) to finish.
        Patch by Jamie Guinan.

svn path=/trunk/; revision=2620

16 years agoMinor.
Behdad Esfahbod [Fri, 25 Apr 2008 00:35:50 +0000 (00:35 +0000)]
Minor.

svn path=/trunk/; revision=2619

16 years agoPart of Bug 97545 – Make pango_default_break follow Unicode TR #29
Behdad Esfahbod [Fri, 25 Apr 2008 00:33:29 +0000 (00:33 +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

        * docs/tmpl/main.sgml:
        * pango/break.c (pango_default_break):
        * pango/pango-break.h:
        * tests/testboundaries_ucd.c (main):
        Add new PangoLogAttr member is_word_boundary, that implements UAX#29's
        Word Boundaries semantics.  Test fully passes for it.

svn path=/trunk/; revision=2618

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