summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Welinder <terra@gnome.org>2004-07-07 17:41:38 +0000
committerMorten Welinder <mortenw@src.gnome.org>2004-07-07 17:41:38 +0000
commit93e458e87232baec8c4227349a3cb05e901a4b99 (patch)
tree0d95e5be079817fcad4b869c3ce47370eb0ccfbc
parent30e38994a8bb619fe34529442bb50f2aed13ca32 (diff)
downloadpango-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--ChangeLog6
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--ChangeLog.pre-1-66
-rw-r--r--ChangeLog.pre-1-86
-rw-r--r--pango/pango-layout.c2
5 files changed, 25 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a38f0760..5aa805c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: