Commit 13c71fa0 authored by David Schnur's avatar David Schnur

Temporary patch for font-size parsing issue.

This partially addresses #991, but a more complete solution, or better
documentation, is still necessary.
parent 5741f267
...@@ -231,7 +231,7 @@ browser, but needs to redraw with canvas text when exporting as an image. ...@@ -231,7 +231,7 @@ browser, but needs to redraw with canvas text when exporting as an image.
style: element.css("font-style"), style: element.css("font-style"),
variant: element.css("font-variant"), variant: element.css("font-variant"),
weight: element.css("font-weight"), 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"), family: element.css("font-family"),
color: element.css("color") color: element.css("color")
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment