Invert leading parameter since we scale by the invert

This commit is contained in:
Vivien Nicolas 2011-07-25 18:04:13 +02:00
parent aa41a75f6e
commit 57cebac711

2
pdf.js
View File

@ -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