Browse Source

Invert leading parameter since we scale by the invert

Vivien Nicolas 14 years ago
parent
commit
57cebac711
  1. 2
      pdf.js

2
pdf.js

@ -4207,7 +4207,7 @@ var CanvasGraphics = (function() { @@ -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

Loading…
Cancel
Save