Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue 688: Removing quotes from font definition. #936

Closed
wants to merge 1 commit into from

2 participants

@jamiehs

Hi,
I'm trying to contribute and picked a seemingly easy issue to tackle. The explicit quotes in the code were causing some fonts passed in with quotes around them to fail. As the issue mentions, it now matches the implementation in drawAxisLabels.

#688

Hope this helps.
Best regards!

@dnschnur
Owner

This was already taken care of by pull request #935, but thank you very much for your submission!

@dnschnur dnschnur closed this
@dnschnur dnschnur was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 19, 2013
  1. @jamiehs
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.flot.js
View
2  jquery.flot.js
@@ -961,7 +961,7 @@ Licensed under the MIT license.
f = axis.font;
ctx.save();
- ctx.font = f.style + " " + f.variant + " " + f.weight + " " + f.size + "px '" + f.family + "'";
+ ctx.font = f.style + " " + f.variant + " " + f.weight + " " + f.size + "px " + f.family;
for (var i = 0; i < ticks.length; ++i) {
var t = ticks[i];
Something went wrong with that request. Please try again.