From: Chris Jones Date: Thu, 23 Jun 2011 22:36:53 +0000 (-0700) Subject: fix rendering of some symbols. Patch by Vivien Nicolas. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=96796619c2728a5d194bda250e802d183e51a29d;p=pdf.js.git fix rendering of some symbols. Patch by Vivien Nicolas. --- diff --git a/pdf.js b/pdf.js index da5926c..ffefc61 100644 --- a/pdf.js +++ b/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; }