summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-21 14:53:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-21 14:53:12 +0000
commite57bc2b2b01166a0f2d307f8086f9bf6dc0fd4f6 (patch)
treee74f5d65eddfaa6583ae934ba99dcf40e4ef12ec
parentc04e723326004a8b6fd1a492a81f8c08862a7d38 (diff)
downloadpango-e57bc2b2b01166a0f2d307f8086f9bf6dc0fd4f6.tar.gz
Sign convention for y offsets is opposite between PangoGlyphString and FT
Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape): Sign convention for y offsets is opposite between PangoGlyphString and FT code. (#132591)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--ChangeLog.pre-1-46
-rw-r--r--ChangeLog.pre-1-66
-rw-r--r--ChangeLog.pre-1-86
-rw-r--r--pango/opentype/pango-ot-ruleset.c2
6 files changed, 31 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e8406525..c5541d7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
+ Sign convention for y offsets is opposite between
+ PangoGlyphString and FT code. (#132591)
+
2003-02-19 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-font.c (pango_fc_font_get_metrics):
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index e8406525..c5541d7a 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,9 @@
+Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
+ Sign convention for y offsets is opposite between
+ PangoGlyphString and FT code. (#132591)
+
2003-02-19 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-font.c (pango_fc_font_get_metrics):
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index e8406525..c5541d7a 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,9 @@
+Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
+ Sign convention for y offsets is opposite between
+ PangoGlyphString and FT code. (#132591)
+
2003-02-19 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-font.c (pango_fc_font_get_metrics):
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index e8406525..c5541d7a 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,9 @@
+Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
+ Sign convention for y offsets is opposite between
+ PangoGlyphString and FT code. (#132591)
+
2003-02-19 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-font.c (pango_fc_font_get_metrics):
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index e8406525..c5541d7a 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,9 @@
+Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
+
+ * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
+ Sign convention for y offsets is opposite between
+ PangoGlyphString and FT code. (#132591)
+
2003-02-19 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-font.c (pango_fc_font_get_metrics):
diff --git a/pango/opentype/pango-ot-ruleset.c b/pango/opentype/pango-ot-ruleset.c
index 996bd041..bf297f11 100644
--- a/pango/opentype/pango-ot-ruleset.c
+++ b/pango/opentype/pango-ot-ruleset.c
@@ -267,7 +267,7 @@ pango_ot_ruleset_shape (PangoOTRuleset *ruleset,
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 (outgpos[i].new_advance)
glyphs->glyphs[i].geometry.width = PANGO_UNITS_26_6(outgpos[i].x_advance);