Browse Source

Merge pull request #8615 from Snuffleupagus/issue-8613

Fix a stupid spelling error in the `ASCII85Decode` name in `Parser.makeInlineImage` (issue 8613)
Jonas Jenwald 8 years ago committed by GitHub
parent
commit
1788a6b0cf
  1. 2
      src/core/parser.js
  2. 1
      test/pdfs/issue8613.pdf.link
  3. 7
      test/test_manifest.json

2
src/core/parser.js

@ -373,7 +373,7 @@ var Parser = (function ParserClosure() { @@ -373,7 +373,7 @@ var Parser = (function ParserClosure() {
var startPos = stream.pos, length, i, ii;
if (filterName === 'DCTDecode' || filterName === 'DCT') {
length = this.findDCTDecodeInlineStreamEnd(stream);
} else if (filterName === 'ASCII85Decide' || filterName === 'A85') {
} else if (filterName === 'ASCII85Decode' || filterName === 'A85') {
length = this.findASCII85DecodeInlineStreamEnd(stream);
} else if (filterName === 'ASCIIHexDecode' || filterName === 'AHx') {
length = this.findASCIIHexDecodeInlineStreamEnd(stream);

1
test/pdfs/issue8613.pdf.link

@ -0,0 +1 @@ @@ -0,0 +1 @@
https://github.com/mozilla/pdf.js/files/1125062/Factuur.9.Schilderwerk.Dr.Stiemensweg.22-24.Dichterbij.pdf

7
test/test_manifest.json

@ -2945,6 +2945,13 @@ @@ -2945,6 +2945,13 @@
"type": "eq",
"about": "Inline image with ASCII85Decode filter."
},
{ "id": "issue8613",
"file": "pdfs/issue8613.pdf",
"md5": "bc7ad2db75710aa9916c5769e0c02123",
"rounds": 1,
"link": true,
"type": "eq"
},
{ "id": "bug1108753",
"file": "pdfs/bug1108753.pdf",
"md5": "a7aaf92d55b4602afb0ca3d75198b56b",

Loading…
Cancel
Save