Fix spacing calculation of TJ operator
This commit is contained in:
parent
c533561f10
commit
1579c4778b
@ -1044,9 +1044,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||||||
var current = this.current;
|
var current = this.current;
|
||||||
var font = current.font;
|
var font = current.font;
|
||||||
var fontSize = current.fontSize;
|
var fontSize = current.fontSize;
|
||||||
var textHScale = current.textHScale * (current.fontMatrix && !font.coded ?
|
// TJ array's number is independent from fontMatrix
|
||||||
current.fontMatrix[0] : FONT_IDENTITY_MATRIX[0]) *
|
var textHScale = current.textHScale * 0.001 * current.fontDirection;
|
||||||
current.fontDirection;
|
|
||||||
var arrLength = arr.length;
|
var arrLength = arr.length;
|
||||||
var textLayer = this.textLayer;
|
var textLayer = this.textLayer;
|
||||||
var geom;
|
var geom;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user