From: Vivien Nicolas <21@vingtetun.org> Date: Mon, 25 Jul 2011 16:04:13 +0000 (+0200) Subject: Invert leading parameter since we scale by the invert X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=57cebac711d11ac1931406ee939c015a4e29f23b;p=pdf.js.git Invert leading parameter since we scale by the invert --- diff --git a/pdf.js b/pdf.js index 85e0c84..e388fc4 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