]> git.parisson.com Git - pdf.js.git/commitdiff
Fix next line since we already invert the position of the viewport by doing a negativ...
authorVivien Nicolas <21@vingtetun.org>
Tue, 19 Jul 2011 13:04:22 +0000 (15:04 +0200)
committerVivien Nicolas <21@vingtetun.org>
Tue, 19 Jul 2011 13:04:22 +0000 (15:04 +0200)
pdf.js

diff --git a/pdf.js b/pdf.js
index 03cb16126fc2af7dc8635c87666238d69b2dc288..63a948df11677e55a0458f2af18c7c6b50ab8e2f 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -4136,7 +4136,7 @@ var CanvasGraphics = (function() {
       }
     },
     setLeadingMoveText: function(x, y) {
-      this.setLeading(-y);
+      this.setLeading(y);
       this.moveText(x, y);
     },
     setTextMatrix: function(a, b, c, d, e, f) {