From 1f532e6edbda223144e4f7558f352661f7c2c514 Mon Sep 17 00:00:00 2001 From: notmasteryet <async.processingjs@yahoo.com> Date: Mon, 10 Oct 2011 22:40:43 -0500 Subject: [PATCH] Long line fix --- fonts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fonts.js b/fonts.js index 7aef5ec92..1c0039264 100644 --- a/fonts.js +++ b/fonts.js @@ -441,7 +441,8 @@ var Font = (function Font() { if (!file) { // The file data is not specified. Trying to fix the font name // to be used with the canvas.font. - var fontName = stdFontMap[name.replace('-', '_')] || name.replace('_', '-'); + var fontName = stdFontMap[name.replace('-', '_')] || + name.replace('_', '-'); this.bold = (fontName.search(/bold/gi) != -1); this.italic = (fontName.search(/oblique/gi) != -1) || (fontName.search(/italic/gi) != -1);