mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
Rename s2a, s16, s32 and do some dance inside the bind() code
This commit is contained in:
parent
69c71c9332
commit
81532e9c03
2 changed files with 116 additions and 109 deletions
2
pdf.js
2
pdf.js
|
@ -2561,7 +2561,7 @@ var CanvasGraphics = (function() {
|
|||
this.ctx.transform.apply(this.ctx, this.current.textMatrix);
|
||||
this.ctx.scale(1, -1);
|
||||
this.ctx.translate(0, -2 * this.current.y);
|
||||
this.ctx.fillText(Fonts.chars2Unicode(text), this.current.x, this.current.y);
|
||||
this.ctx.fillText(Fonts.charsToUnicode(text), this.current.x, this.current.y);
|
||||
this.current.x += this.ctx.measureText(text).width;
|
||||
|
||||
this.ctx.restore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue