mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
fix rendering of some symbols. Patch by Vivien Nicolas.
This commit is contained in:
parent
ba3c700bec
commit
96796619c2
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -2857,7 +2857,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…
Add table
Add a link
Reference in a new issue