Merge pull request #323 from notmasteryet/basefont

Fixing bad comment
This commit is contained in:
Andreas Gal 2011-08-14 10:46:01 -07:00
commit ccc6e31749

View File

@ -401,7 +401,7 @@ var Font = (function Font() {
} }
if (!file) { if (!file) {
// The file data is not specified. Trying to mingle the font name // The file data is not specified. Trying to fix the font name
// to be used with the canvas.font. // to be used with the canvas.font.
var fontName = stdFontMap[name] || name.replace('_', '-'); var fontName = stdFontMap[name] || name.replace('_', '-');
this.bold = (fontName.indexOf('Bold') != -1); this.bold = (fontName.indexOf('Bold') != -1);