mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Invert leading parameter since we scale by the invert
This commit is contained in:
parent
aa41a75f6e
commit
57cebac711
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue