mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Transfer defaultWidth for files without the file
This commit is contained in:
parent
10a2fa66c2
commit
a0ef97fb60
1 changed files with 1 additions and 0 deletions
1
fonts.js
1
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue