Merge pull request #5376 from yurydelendik/fontface3
Adds optional argument to FontFace contructor call.
This commit is contained in:
commit
fb6d87c77b
@ -323,7 +323,7 @@ var FontFaceObject = (function FontFaceObjectClosure() {
|
||||
return null;
|
||||
}
|
||||
|
||||
var nativeFontFace = new FontFace(this.loadedName, this.data);
|
||||
var nativeFontFace = new FontFace(this.loadedName, this.data, {});
|
||||
|
||||
FontLoader.addNativeFontFace(nativeFontFace);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user