Merge pull request #2143 from jviereck/fix-type3-spacing
Fix current.x for type3 font word break
This commit is contained in:
commit
e13846821c
@ -701,6 +701,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||||||
if (glyph === null) {
|
if (glyph === null) {
|
||||||
// word break
|
// word break
|
||||||
this.ctx.translate(wordSpacing, 0);
|
this.ctx.translate(wordSpacing, 0);
|
||||||
|
current.x += wordSpacing * textHScale;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user