Transfer defaultWidth for files without the file
This commit is contained in:
parent
10a2fa66c2
commit
a0ef97fb60
1
fonts.js
1
fonts.js
@ -436,6 +436,7 @@ var Font = (function Font() {
|
|||||||
// name ArialBlack for example will be replaced by Helvetica.
|
// name ArialBlack for example will be replaced by Helvetica.
|
||||||
this.black = (name.search(/Black/g) != -1);
|
this.black = (name.search(/Black/g) != -1);
|
||||||
|
|
||||||
|
this.defaultWidth = properties.defaultWidth;
|
||||||
this.loadedName = fontName.split('-')[0];
|
this.loadedName = fontName.split('-')[0];
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user