Merge pull request #2143 from jviereck/fix-type3-spacing

Fix current.x for type3 font word break
This commit is contained in:
Yury Delendik 2012-09-19 14:00:07 -07:00
commit e13846821c

View File

@ -701,6 +701,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
if (glyph === null) {
// word break
this.ctx.translate(wordSpacing, 0);
current.x += wordSpacing * textHScale;
continue;
}