fixed vertical alignment bug
authorkramm <kramm>
Tue, 6 Jan 2009 21:26:10 +0000 (21:26 +0000)
committerkramm <kramm>
Tue, 6 Jan 2009 21:26:10 +0000 (21:26 +0000)
lib/pdf/GFXOutputDev.cc

index ef441b4..940f5a0 100644 (file)
@@ -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);