diff options
author | Theppitak Karoonboonyanan <tkaroonb@src.gnome.org> | 2004-05-28 16:42:24 +0000 |
---|---|---|
committer | Theppitak Karoonboonyanan <tkaroonb@src.gnome.org> | 2004-05-28 16:42:24 +0000 |
commit | 1a4db6e6d3354bdbf954c94b6ee46c7be8ad85d6 (patch) | |
tree | d33c02a334f088cffcab8338e9eedec0e1a21807 | |
parent | c4ee717810300dde325af4fd818b787dcc25316a (diff) | |
download | pango-1a4db6e6d3354bdbf954c94b6ee46c7be8ad85d6.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 97e155d1..0e530a47 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 97e155d1..0e530a47 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 97e155d1..0e530a47 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); |