Browse Source

Merge remote branch 'upstream/master'

Vivien Nicolas 14 years ago
parent
commit
a954769929
  1. 2
      pdf.js

2
pdf.js

@ -2851,7 +2851,7 @@ var CanvasGraphics = (function() { @@ -2851,7 +2851,7 @@ var CanvasGraphics = (function() {
} else {
text = Fonts.charsToUnicode(text);
this.ctx.translate(this.current.x, -1 * this.current.y);
this.ctx.fillText(Fonts.charsToUnicode(text), 0, 0);
this.ctx.fillText(text, 0, 0);
this.current.x += this.ctx.measureText(text).width;
}

Loading…
Cancel
Save