]> git.parisson.com Git - pdf.js.git/commitdiff
Transfer defaultWidth for files without the file
authornotmasteryet <async.processingjs@yahoo.com>
Fri, 16 Sep 2011 00:32:36 +0000 (19:32 -0500)
committernotmasteryet <async.processingjs@yahoo.com>
Fri, 16 Sep 2011 00:32:36 +0000 (19:32 -0500)
fonts.js

index 2b40c1f49096bf2ba2885c75d4045180b2a7e793..e8d62908452a4b4cb7218d0efe996531440dc11f 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -436,6 +436,7 @@ var Font = (function Font() {
       // name ArialBlack for example will be replaced by Helvetica.
       this.black = (name.search(/Black/g) != -1);
 
+      this.defaultWidth = properties.defaultWidth;
       this.loadedName = fontName.split('-')[0];
       this.loading = false;
       return;