mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
fixed missing entries in charstring data
This commit is contained in:
parent
226f3fa3ee
commit
5f133a8c07
1 changed files with 2 additions and 0 deletions
2
fonts.js
2
fonts.js
|
@ -2067,6 +2067,8 @@ var ActualCFF = (function() {
|
|||
var charString = this.parseCharString(charStrings.get(i),
|
||||
defaultWidth, nominalWidth);
|
||||
charstrings.push({unicode: charCode, width: charString.width});
|
||||
} else {
|
||||
charstrings.push({unicode: 0, width: 0});
|
||||
}
|
||||
}
|
||||
return charstrings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue