summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-04-21 15:17:03 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-04-21 15:17:03 -0400
commitc592e19bb9235b6bd51293bfd25b8d40d1ae3aa7 (patch)
treec7213f95f46b2f5032fbbfc4a00809ea0aa44325 /pango/pango-ot-buffer.c
parentbf99026f8dbe054e9c59bf5a891b76b71ea912b7 (diff)
downloadpango-c592e19bb9235b6bd51293bfd25b8d40d1ae3aa7.tar.gz
[HB] Make y grow down
More intuitive.
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index 26213a5a..100e6465 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -257,8 +257,8 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer,
if (is_hinted)
advance = PANGO_UNITS_ROUND (advance);
glyphs->glyphs[i].geometry.width = advance;
- glyphs->glyphs[i].geometry.x_offset = hb_position->x_offset;
- glyphs->glyphs[i].geometry.y_offset = -hb_position->y_offset;
+ glyphs->glyphs[i].geometry.x_offset = hb_position->x_offset;
+ glyphs->glyphs[i].geometry.y_offset = hb_position->y_offset;
hb_glyph++;
hb_position++;