[poppler] poppler/poppler: CairoOutputDev.cc,1.30,1.31
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Mon Apr 10 11:12:46 PDT 2006
Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv5069/poppler
Modified Files:
CairoOutputDev.cc
Log Message:
2006-04-10 Jeff Muizelaar <jeff at infidigm.net>
* poppler/CairoOutputDev.cc: take originX and originY into account in
drawChar() to draw vertical text properly. Fixes #6551.
Index: CairoOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoOutputDev.cc,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- CairoOutputDev.cc 5 Apr 2006 17:20:56 -0000 1.30
+++ CairoOutputDev.cc 10 Apr 2006 18:12:44 -0000 1.31
@@ -378,7 +378,7 @@
double tx, ty;
glyphs[glyphCount].index = currentFont->getGlyph (code, u, uLen);
- state->transform(x, y, &tx, &ty);
+ state->transform(x - originX, y - originY, &tx, &ty);
glyphs[glyphCount].x = tx;
glyphs[glyphCount].y = ty;
glyphCount++;
More information about the poppler
mailing list