mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #5376 from yurydelendik/fontface3
Adds optional argument to FontFace contructor call.
This commit is contained in:
commit
fb6d87c77b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue