From 57cebac711d11ac1931406ee939c015a4e29f23b Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Mon, 25 Jul 2011 18:04:13 +0200 Subject: [PATCH] Invert leading parameter since we scale by the invert --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 85e0c841f..e388fc499 100644 --- a/pdf.js +++ b/pdf.js @@ -4207,7 +4207,7 @@ var CanvasGraphics = (function() { this.current.y = this.current.lineY = 0; }, nextLine: function() { - this.moveText(0, this.current.leading); + this.moveText(0, -this.current.leading); }, showText: function(text) { // TODO: apply charSpacing, wordSpacing, textHScale