1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

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;
}