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) {
|
||||
// word break
|
||||
this.ctx.translate(wordSpacing, 0);
|
||||
current.x += wordSpacing * textHScale;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user