[Pkg-javascript-commits] [pdf.js] 172/204: Adds optional argument to FontFace contructor call.

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 8bec7ea8bd5f2c6b1669f32db2ec02a8fa295208
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Wed Oct 1 18:15:23 2014 -0500

    Adds optional argument to FontFace contructor call.
---
 src/display/font_loader.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/display/font_loader.js b/src/display/font_loader.js
index 6d2b8a8..5326a3e 100644
--- a/src/display/font_loader.js
+++ b/src/display/font_loader.js
@@ -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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list