From 13c71fa03c972a69388c0f734d984705300fb59f Mon Sep 17 00:00:00 2001 From: David Schnur Date: Wed, 13 Mar 2013 23:46:35 -0400 Subject: [PATCH] Temporary patch for font-size parsing issue. This partially addresses #991, but a more complete solution, or better documentation, is still necessary. --- jquery.flot.canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.canvas.js b/jquery.flot.canvas.js index 3722646..05bbb4f 100644 --- a/jquery.flot.canvas.js +++ b/jquery.flot.canvas.js @@ -231,7 +231,7 @@ browser, but needs to redraw with canvas text when exporting as an image. style: element.css("font-style"), variant: element.css("font-variant"), weight: element.css("font-weight"), - size: parseInt(element.css("font-size"), 10), + size: parseInt(element.css("font-size"), 10) || 13, family: element.css("font-family"), color: element.css("color") };