mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Discards invalid values for Blues
This commit is contained in:
parent
6ccf711966
commit
972d08209a
3 changed files with 13 additions and 0 deletions
|
@ -3735,6 +3735,10 @@ var Type1Parser = function type1Parser() {
|
|||
case '/OtherBlues':
|
||||
case '/FamilyBlues':
|
||||
case '/FamilyOtherBlues':
|
||||
var blueArray = readNumberArray(eexecStr, i + 1);
|
||||
if (blueArray.length > 0 && (blueArray.length % 2) == 0)
|
||||
program.properties.privateData[token.substring(1)] = blueArray;
|
||||
break;
|
||||
case '/StemSnapH':
|
||||
case '/StemSnapV':
|
||||
program.properties.privateData[token.substring(1)] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue