From b327765176dff81047f942ac56a1d206344e6039 Mon Sep 17 00:00:00 2001 From: Theppitak Karoonboonyanan Date: Fri, 28 May 2004 16:41:36 +0000 Subject: [PATCH] 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) --- src/pango-ot-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pango-ot-buffer.c b/src/pango-ot-buffer.c index 9b54866..35371ae 100644 --- a/src/pango-ot-buffer.c +++ b/src/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); -- 2.7.4