From: notmasteryet Date: Fri, 16 Sep 2011 00:32:36 +0000 (-0500) Subject: Transfer defaultWidth for files without the file X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a0ef97fb6044c6028b7ca4b63a4cd884d9181933;p=pdf.js.git Transfer defaultWidth for files without the file --- diff --git a/fonts.js b/fonts.js index 2b40c1f..e8d6290 100755 --- 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;