Invert leading parameter since we scale by the invert
This commit is contained in:
parent
aa41a75f6e
commit
57cebac711
2
pdf.js
2
pdf.js
@ -4207,7 +4207,7 @@ var CanvasGraphics = (function() {
|
|||||||
this.current.y = this.current.lineY = 0;
|
this.current.y = this.current.lineY = 0;
|
||||||
},
|
},
|
||||||
nextLine: function() {
|
nextLine: function() {
|
||||||
this.moveText(0, this.current.leading);
|
this.moveText(0, -this.current.leading);
|
||||||
},
|
},
|
||||||
showText: function(text) {
|
showText: function(text) {
|
||||||
// TODO: apply charSpacing, wordSpacing, textHScale
|
// TODO: apply charSpacing, wordSpacing, textHScale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user