From 8787e7cbe9af9056767669e1a35dfb6082f2aaba Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Tue, 21 Jun 2011 03:05:28 +0200 Subject: [PATCH] Fix some leftovers --- pdf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf.js b/pdf.js index d6c478199..b140ef6c1 100644 --- a/pdf.js +++ b/pdf.js @@ -2532,7 +2532,7 @@ var CanvasGraphics = (function() { } this.current.fontSize = size; - this.ctx.font = this.current.fontSize +'px "' + fontName + '", Symbol'; + this.ctx.font = this.current.fontSize +'px "' + fontName + '"'; }, setTextRenderingMode: function(mode) { TODO("text rendering mode"); @@ -2720,7 +2720,7 @@ var CanvasGraphics = (function() { // normalize transform matrix so each step // takes up the entire tmpCanvas (need to remove white borders) if (matrix[1] === 0 && matrix[2] === 0) { - matrix[0] = tmpCanvas.width / xstep; + matrix[0] = tmpCanvas.width / xstep; matrix[3] = tmpCanvas.height / ystep; topLeft = applyMatrix([x0,y0], matrix); }