Merge pull request #2844 from vyv03354/issue2842
Fix spacing calculation of TJ operator
This commit is contained in:
commit
d97c5a2b14
@ -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