From 055573fc83f6dbd6900ec1dd94e4418c4a685398 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 18 Nov 2015 13:47:56 +0100 Subject: [PATCH] Replace the unavailable linked test-case for issue 1055 with a reduced test-case Re: issue 1055 and PR 1095. --- test/pdfs/.gitignore | 1 + test/pdfs/issue1055.pdf.link | 1 - test/pdfs/issue1055r.pdf | 109 +++++++++++++++++++++++++++++++++++ test/test_manifest.json | 10 ++-- 4 files changed, 115 insertions(+), 6 deletions(-) delete mode 100644 test/pdfs/issue1055.pdf.link create mode 100644 test/pdfs/issue1055r.pdf diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index ea6259038..62a7a80a9 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -36,6 +36,7 @@ !close-path-bug.pdf !issue6019.pdf !issue6621.pdf +!issue1055r.pdf !issue1293r.pdf !issue1655r.pdf !issue6541.pdf diff --git a/test/pdfs/issue1055.pdf.link b/test/pdfs/issue1055.pdf.link deleted file mode 100644 index 8e2e7107c..000000000 --- a/test/pdfs/issue1055.pdf.link +++ /dev/null @@ -1 +0,0 @@ -http://mcpherrin.ca/code/mozilla/engl208b.pdf diff --git a/test/pdfs/issue1055r.pdf b/test/pdfs/issue1055r.pdf new file mode 100644 index 000000000..3c8ca16f4 --- /dev/null +++ b/test/pdfs/issue1055r.pdf @@ -0,0 +1,109 @@ +%PDF-1.7 +%âãÏÓ +1 0 obj +<< +/Pages 2 0 R +/Type /Catalog +>> +endobj +2 0 obj +<< +/Kids [3 0 R] +/Count 1 +/Type /Pages +>> +endobj +3 0 obj +<< +/Parent 2 0 R +/MediaBox [0 0 200 50] +/Resources +<< +/XObject +<< +/Im14 4 0 R +/Tr15 5 0 R +>> +/Font +<< +/F1 6 0 R +>> +>> +/Contents 7 0 R +/Type /Page +>> +endobj +6 0 obj +<< +/BaseFont /Times-Roman +/Subtype /Type1 +/Encoding /WinAnsiEncoding +/Type /Font +>> +endobj +7 0 obj +<< +/Length 54 +>> +stream +q +/Tr15 Do +Q +BT +50 20 TD +/F1 20 Tf +(Issue 1055) Tj +ET + +endstream +endobj +4 0 obj +<< +/Subtype /Form +/Length 54 +/Type /XObject +/BBox [0 0 20 20] +>> +stream +q +0 0 0 rg +0 0 20 20 re f +1 1 1 rg +5 5 10 10 re f +Q + +endstream +endobj +5 0 obj +<< +/Subtype /Form +/Length 34 +/Type /XObject +/BBox [0 0 200 50] +>> +stream +q +1.5 0 0 1.5 10 10 cm +/Im14 Do +Q + +endstream +endobj xref +0 8 +0000000000 65535 f +0000000015 00000 n +0000000066 00000 n +0000000125 00000 n +0000000502 00000 n +0000000657 00000 n +0000000294 00000 n +0000000395 00000 n +trailer + +<< +/Root 1 0 R +/Size 8 +>> +startxref +792 +%%EOF diff --git a/test/test_manifest.json b/test/test_manifest.json index 3dc36fc6a..d478031c1 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -1126,11 +1126,11 @@ "type": "eq" }, { "id": "issue1055", - "file": "pdfs/issue1055.pdf", - "md5": "3ba56c2e48dce81da8669b1b9cf98ff0", - "rounds": 1, - "link": true, - "type": "eq" + "file": "pdfs/issue1055r.pdf", + "md5": "4aa72bb4779e3f301c45492f2a590459", + "rounds": 1, + "link": false, + "type": "eq" }, { "id": "issue1629", "file": "pdfs/issue1629.pdf",