Merge pull request #1979 from yurydelendik/issue-1685
Discards invalid values for Blues
This commit is contained in:
commit
c9c5ae32d9
@ -3747,6 +3747,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)] =
|
||||
|
1
test/pdfs/issue1685.pdf.link
Normal file
1
test/pdfs/issue1685.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
http://www.agapec.com.br/manual/manual_2007.pdf
|
@ -451,6 +451,14 @@
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1685",
|
||||
"file": "pdfs/issue1685.pdf",
|
||||
"md5": "b22c3741e6bd0e613d3eb3325ad31f7d",
|
||||
"rounds": 1,
|
||||
"pageLimit": 2,
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1169",
|
||||
"file": "pdfs/issue1169.pdf",
|
||||
"md5": "3df3ed21fd43ac7fdb21e2015c8a7809",
|
||||
|
Loading…
Reference in New Issue
Block a user