From 88bd912840f3676a9de2b5dff8b7214591c43c95 Mon Sep 17 00:00:00 2001 From: Adil Allawi Date: Tue, 23 Oct 2012 04:19:47 -0700 Subject: [PATCH] Clear unused code --- src/canvas.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/canvas.js b/src/canvas.js index ab863ab58..38111c7d3 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -849,10 +849,6 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { x += charWidth; - var glyphUnicode = glyph.unicode === ' ' ? '\u00A0' : glyph.unicode; - if (glyphUnicode in NormalizedUnicodes) - glyphUnicode = NormalizedUnicodes[glyphUnicode]; - canvasWidth += charWidth; } current.x += x * textHScale2;