diff options
author | Theppitak Karoonboonyanan <tkaroonb@src.gnome.org> | 2004-05-28 16:41:36 +0000 |
---|---|---|
committer | Theppitak Karoonboonyanan <tkaroonb@src.gnome.org> | 2004-05-28 16:41:36 +0000 |
commit | 3ef5e7edc246615f45accafca5d83739b14ca66b (patch) | |
tree | 45015325275feeaf6f5fe8eccc0d86ac807f21b9 | |
parent | 411579dc964ddb226615572bb7dd364a2febe62e (diff) | |
download | pango-3ef5e7edc246615f45accafca5d83739b14ca66b.tar.gz |
Negate y offset according to different conventions between
* pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset
according to different conventions between PangoGlyphString and OTL
(#142544)
-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/opentype/pango-ot-buffer.c | 2 |
5 files changed, 25 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri May 28 2004 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset + according to different conventions between PangoGlyphString and OTL + (#142544) + Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 8588f508..68ce7055 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +Fri May 28 2004 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset + according to different conventions between PangoGlyphString and OTL + (#142544) + Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 8588f508..68ce7055 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +Fri May 28 2004 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset + according to different conventions between PangoGlyphString and OTL + (#142544) + Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 8588f508..68ce7055 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +Fri May 28 2004 Theppitak Karoonboonyanan <thep@linux.thai.net> + + * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset + according to different conventions between PangoGlyphString and OTL + (#142544) + Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes diff --git a/pango/opentype/pango-ot-buffer.c b/pango/opentype/pango-ot-buffer.c index 9b548666..35371ae8 100644 --- a/pango/opentype/pango-ot-buffer.c +++ b/pango/opentype/pango-ot-buffer.c @@ -138,7 +138,7 @@ apply_gpos_ltr (PangoGlyphString *glyphs, glyphs->glyphs[i].geometry.x_offset -= glyphs->glyphs[j].geometry.width; glyphs->glyphs[i].geometry.x_offset += PANGO_UNITS_26_6(x_pos); - glyphs->glyphs[i].geometry.y_offset += PANGO_UNITS_26_6(y_pos); + glyphs->glyphs[i].geometry.y_offset -= PANGO_UNITS_26_6(y_pos); if (positions[i].new_advance) glyphs->glyphs[i].geometry.width = PANGO_UNITS_26_6(positions[i].x_advance); |