Transfer defaultWidth for files without the file

This commit is contained in:
notmasteryet 2011-09-15 19:32:36 -05:00
parent 10a2fa66c2
commit a0ef97fb60

View File

@ -436,6 +436,7 @@ var Font = (function Font() {
// name ArialBlack for example will be replaced by Helvetica.
this.black = (name.search(/Black/g) != -1);
this.defaultWidth = properties.defaultWidth;
this.loadedName = fontName.split('-')[0];
this.loading = false;
return;