mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix current.x for type3 font word break
This commit is contained in:
parent
7e648af070
commit
43f2db30b3
1 changed files with 1 additions and 0 deletions
|
@ -701,6 +701,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
if (glyph === null) {
|
||||
// word break
|
||||
this.ctx.translate(wordSpacing, 0);
|
||||
current.x += wordSpacing * textHScale;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue