acwrightdesign/jquery.paddles — pull request #3 by peterbarnes (2014-02-19 20:51:36+00:00)
Title: Attempt

I read your email and it made a lot of sense. Here's what I did.

Again, I created a new default called "font" and gave it a value of "brandishregular" which is already defined and properly loaded in the css sheet.

Right now I wasn't worried about font size so I went to every instance of this font and replaced it with,

PADDLES.options.font;

Then in the paddles.js file, I edited the $('canvas#paddles').PADDLES(); and created this,

$('canvas#paddles').PADDLES({font: 'brandishregular'}); Initially I wanted to test just the default font to make sure that the option was working properly. What I thought should have happened was that the font was present, but the sizes would be off which was expected since I didn't pass any values for the font size.

However, when I went to localhost:3000, what happened was all of the fonts simply became Arial. Check out the code here and see if you can figure out where I'm going wrong?