1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Adds optional argument to FontFace contructor call.

This commit is contained in:
Yury Delendik 2014-10-01 18:15:23 -05:00
parent 29eb147d42
commit 8bec7ea8bd

View file

@ -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);