mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-24 17:05:47 +02:00
Adds optional argument to FontFace contructor call.
This commit is contained in:
parent
29eb147d42
commit
8bec7ea8bd
@ -323,7 +323,7 @@ var FontFaceObject = (function FontFaceObjectClosure() {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var nativeFontFace = new FontFace(this.loadedName, this.data);
|
var nativeFontFace = new FontFace(this.loadedName, this.data, {});
|
||||||
|
|
||||||
FontLoader.addNativeFontFace(nativeFontFace);
|
FontLoader.addNativeFontFace(nativeFontFace);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user