Permalink
Browse files

Temporary patch for font-size parsing issue.

This partially addresses #991, but a more complete solution, or better
documentation, is still necessary.
  • Loading branch information...
1 parent 4efc934 commit a6a26eea84b967395f98a6fded2346e2962bb490 @dnschnur committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.flot.canvas.js
View
2 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")
};

0 comments on commit a6a26ee

Please sign in to comment.