mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #2571 from mduan/issue2129
Do not error when an EndOfPage segment is encountered in jbig2
This commit is contained in:
commit
a3dd0098e0
3 changed files with 11 additions and 0 deletions
|
@ -897,6 +897,8 @@ var Jbig2Image = (function Jbig2ImageClosure() {
|
|||
pageInfo.combinationOperatorOverride = !!(pageSegmentFlags & 64);
|
||||
args = [pageInfo];
|
||||
break;
|
||||
case 49: // EndOfPage
|
||||
break;
|
||||
case 50: // EndOfStripe
|
||||
break;
|
||||
case 51: // EndOfFile
|
||||
|
|
1
test/pdfs/issue2129.pdf.link
Normal file
1
test/pdfs/issue2129.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
http://docs.dpaq.de/1737-itcsamsungapple337_794notice14092012.pdf
|
|
@ -46,6 +46,14 @@
|
|||
"rounds": 1,
|
||||
"type": "load"
|
||||
},
|
||||
{ "id": "issue2129",
|
||||
"file": "pdfs/issue2129.pdf",
|
||||
"md5": "b082dd2cb3648f979fd668f498af14d6",
|
||||
"link": true,
|
||||
"pageLimit": 1,
|
||||
"rounds": 1,
|
||||
"type": "load"
|
||||
},
|
||||
{ "id": "shavian-load",
|
||||
"file": "pdfs/shavian.pdf",
|
||||
"md5": "40ef97a120250b149c4ded383ca328ec",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue