From f6509933a4e0abde3b7bca861f65e433b7e8dcf0 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Fri, 4 Apr 2008 08:41:08 +1030 Subject: [PATCH] PDF: Fix glyph positioning bug --- src/cairo-pdf-operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c index 1dbb08c61..1198b4ef2 100644 --- a/src/cairo-pdf-operators.c +++ b/src/cairo-pdf-operators.c @@ -946,7 +946,7 @@ _cairo_pdf_operators_show_glyphs (cairo_pdf_operators_t *pdf_operators, _cairo_output_stream_printf (word_wrap_stream, "%f %f Td ", (glyphs[i].x - Tlm_x)/scaled_font->scale.xx, - (glyphs[i].y - Tlm_y)/-scaled_font->scale.yy); + (glyphs[i].y - Tlm_y)/scaled_font->scale.yy); Tlm_x = glyphs[i].x; Tlm_y = glyphs[i].y; Tm_x = Tlm_x;