diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 6 | ||||
-rw-r--r-- | pango/pango-layout.c | 2 |
5 files changed, 25 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-07-07 Morten Welinder <terra@gnome.org> + + * pango/pango-layout.c (process_item): Add letter spacing + correction to the last character, not the one just beyond the + table. (#145517, self.) + Thu Jun 24 14:07:10 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.5.0 === diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index a38f0760..5aa805c8 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +2004-07-07 Morten Welinder <terra@gnome.org> + + * pango/pango-layout.c (process_item): Add letter spacing + correction to the last character, not the one just beyond the + table. (#145517, self.) + Thu Jun 24 14:07:10 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.5.0 === diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index a38f0760..5aa805c8 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +2004-07-07 Morten Welinder <terra@gnome.org> + + * pango/pango-layout.c (process_item): Add letter spacing + correction to the last character, not the one just beyond the + table. (#145517, self.) + Thu Jun 24 14:07:10 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.5.0 === diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index a38f0760..5aa805c8 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +2004-07-07 Morten Welinder <terra@gnome.org> + + * pango/pango-layout.c (process_item): Add letter spacing + correction to the last character, not the one just beyond the + table. (#145517, self.) + Thu Jun 24 14:07:10 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.5.0 === diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 9daa121e..2d43dfab 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -2765,7 +2765,7 @@ process_item (PangoLayout *layout, * account it all on the last */ if (item->num_chars > 0) - state->log_widths[item->num_chars] += state->properties.letter_spacing; + state->log_widths[item->num_chars - 1] += state->properties.letter_spacing; } retry_break: |