From: Andreas Gal Date: Sat, 9 Jul 2011 23:45:23 +0000 (-0700) Subject: address review comment X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a5237dd60e0bce310255ef831cd922a8490192a7;p=pdf.js.git address review comment --- diff --git a/pdf.js b/pdf.js index 9129631..bb4f750 100644 --- a/pdf.js +++ b/pdf.js @@ -4016,7 +4016,7 @@ var CanvasGraphics = (function() { ctx.transform.apply(ctx, current.textMatrix); ctx.scale(1, -1); - ctx.translate(current.x, -1 * current.y); + ctx.translate(current.x, -current.y); var font = current.font; ctx.transform.apply(ctx, font.textMatrix);