summaryrefslogtreecommitdiff
path: root/xpdf
diff options
context:
space:
mode:
authorArtem Khvat <akhva@openoffice.org>2007-12-14 15:25:53 +0000
committerArtem Khvat <akhva@openoffice.org>2007-12-14 15:25:53 +0000
commitadb4d9cda5ffb9e12f583eeecf86976b9183d1f6 (patch)
tree2db4e1417b14982ea2546a978a5ea4b86291d99d /xpdf
parentec1024217dfd42609b0a7a87a2aa1ba7096dce50 (diff)
#i80285# Fix baseline
Diffstat (limited to 'xpdf')
-rw-r--r--xpdf/wrapper/pdfioutdev_gpl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xpdf/wrapper/pdfioutdev_gpl.cxx b/xpdf/wrapper/pdfioutdev_gpl.cxx
index eccfd17de13f..1974ac871cb3 100644
--- a/xpdf/wrapper/pdfioutdev_gpl.cxx
+++ b/xpdf/wrapper/pdfioutdev_gpl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pdfioutdev_gpl.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: thb $ $Date: 2007-12-05 14:16:44 $
+ * last change: $Author: akhva $ $Date: 2007-12-14 16:25:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU General Public License Version 2.
@@ -629,15 +629,15 @@ void PDFOutDev::drawChar(GfxState *state, double x, double y,
// normalize coordinates
// correct from baseline to upper left corner
- double x2(0.0), y2(0.0);
- state->textTransformDelta( 0.0,
+ // double x2(0.0), y2(0.0);
+ /* state->textTransformDelta( 0.0,
state->getFontSize()*state->getFont()->getAscent(),
&x2, &y2 );
x -= x2;
- y += y2;
+ y += y2;*/
- const double aPositionX(x-originX);
- const double aPositionY(y-originY);
+ const double aPositionX(x/*-originX*/);
+ const double aPositionY(y/*-originY*/);
const double nWidth(dx);
const double nHeight(state->getFontSize());