Browse Source

Fix current.x for type3 font word break

Julian Viereck 13 years ago
parent
commit
43f2db30b3
  1. 1
      src/canvas.js

1
src/canvas.js

@ -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…
Cancel
Save