Merge pull request #1979 from yurydelendik/issue-1685

Discards invalid values for Blues
This commit is contained in:
Artur Adib 2012-08-16 09:58:10 -07:00
commit c9c5ae32d9
3 changed files with 13 additions and 0 deletions

View File

@ -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)] =

View File

@ -0,0 +1 @@
http://www.agapec.com.br/manual/manual_2007.pdf

View File

@ -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",