From: sbarman Date: Sat, 23 Jul 2011 01:03:14 +0000 (-0700) Subject: cleanup X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1e59dd625a7f040c7208b053de1269179f455e5b;p=pdf.js.git cleanup --- diff --git a/pdf.js b/pdf.js index f13afe2..ba4ef61 100644 --- a/pdf.js +++ b/pdf.js @@ -4224,7 +4224,6 @@ var CanvasGraphics = (function() { var charWidth = FontMeasure.measureText(c) + charSpacing; if (c.charCodeAt(0) == 32) charWidth += wordSpacing; - ctx.translate(charWidth * scaleFactorX, 0); width += charWidth; }