mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix spacing calculation of TJ operator
This commit is contained in:
parent
c533561f10
commit
1579c4778b
1 changed files with 2 additions and 3 deletions
|
@ -1044,9 +1044,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
var current = this.current;
|
||||
var font = current.font;
|
||||
var fontSize = current.fontSize;
|
||||
var textHScale = current.textHScale * (current.fontMatrix && !font.coded ?
|
||||
current.fontMatrix[0] : FONT_IDENTITY_MATRIX[0]) *
|
||||
current.fontDirection;
|
||||
// TJ array's number is independent from fontMatrix
|
||||
var textHScale = current.textHScale * 0.001 * current.fontDirection;
|
||||
var arrLength = arr.length;
|
||||
var textLayer = this.textLayer;
|
||||
var geom;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue