From 8643c3c773ff07e31d2791bebbdcc2fa5b67bd9f Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 6 Jan 2009 21:26:10 +0000 Subject: [PATCH] fixed vertical alignment bug --- lib/pdf/GFXOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index ef441b4..940f5a0 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -1373,7 +1373,7 @@ void GFXOutputDev::drawChar(GfxState *state, double x, double y, gfxmatrix_t m = this->current_font_matrix; this->transformXY(state, x-originX, y-originY, &m.tx, &m.ty); - m.tx += originX; m.ty += originY; + //m.tx += originX; m.ty += originY; if(render == RENDER_FILL || render == RENDER_INVISIBLE) { device->drawchar(device, current_gfxfont, glyphid, &col, &m); -- 1.7.10.4