1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00

address review comments

This commit is contained in:
Andreas Gal 2011-07-08 15:13:33 -07:00
parent f6eb9cecd3
commit 6fecf59ca7

2
pdf.js
View file

@ -3936,7 +3936,7 @@ var CanvasGraphics = (function() {
ctx.$showText(current.y, Fonts.charsToUnicode(text));
} else {
text = Fonts.charsToUnicode(text);
ctx.translate(this.current.x, -1 * this.current.y);
ctx.translate(current.x, -1 * current.y);
var font = this.current.font;
if (font)