diff options
author | Morten Welinder <terra@gnome.org> | 2004-07-07 17:41:38 +0000 |
---|---|---|
committer | Morten Welinder <mortenw@src.gnome.org> | 2004-07-07 17:41:38 +0000 |
commit | 93e458e87232baec8c4227349a3cb05e901a4b99 (patch) | |
tree | 0d95e5be079817fcad4b869c3ce47370eb0ccfbc | |
parent | 30e38994a8bb619fe34529442bb50f2aed13ca32 (diff) | |
download | pango-93e458e87232baec8c4227349a3cb05e901a4b99.tar.gz |
Add letter spacing correction to the last character, not the one just
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.)
-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: |