diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index 2e34a2b7c..a3a804ae1 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -26,6 +26,7 @@ !issue3438.pdf !issue2074.pdf !scan-bad.pdf +!bug847420.pdf !bug860632.pdf !pdfjsbad1586.pdf !freeculture.pdf diff --git a/test/pdfs/bug847420.pdf b/test/pdfs/bug847420.pdf new file mode 100644 index 000000000..ba804dd14 --- /dev/null +++ b/test/pdfs/bug847420.pdf @@ -0,0 +1,90 @@ +%PDF-1.7 +52 0 obj +<< +/Type /Catalog +/Pages 53 0 R +>> +endobj +53 0 obj +<< +/Type /Pages +/MediaBox [ 0 0 200 50 ] +/Count 1 +/Kids [ 54 0 R ] +>> +endobj +54 0 obj +<< +/Type /Page +/Parent 53 0 R +/Resources << +/Font << +/F1 55 0 R +>> + +>> + +/Contents 56 0 R +>> +endobj +55 0 obj +<< +/Type /Font +/Subtype /TrueType +/Name /F2 +/BaseFont /Arial,Italic +/FirstChar 32 +/LastChar 255 +/Widths [ 277 277 354 556 556 889 666 190 333 333 389 583 277 333 277 277 556 556 556 556 556 556 556 556 556 556 277 277 583 583 583 556 1015 666 666 722 722 666 610 777 722 277 500 666 556 833 722 777 666 777 722 666 610 722 666 943 666 666 610 277 277 277 469 556 333 556 556 500 556 556 277 556 556 222 222 500 222 833 556 556 556 556 333 500 277 556 500 722 500 500 500 333 259 333 583 0 556 0 222 556 333 1000 556 556 333 1000 666 333 1000 0 610 0 0 222 222 333 333 350 556 1000 333 1000 500 333 943 0 500 666 277 333 556 556 556 556 259 556 333 736 370 556 583 0 736 552 399 548 333 333 333 576 537 333 333 333 365 556 833 833 833 610 666 666 666 666 666 666 1000 722 666 666 666 666 277 277 277 277 722 722 777 777 777 777 777 583 777 722 722 722 722 666 666 610 556 556 556 556 556 556 889 500 556 556 556 556 277 277 277 277 556 556 556 556 556 556 556 548 610 556 556 556 556 500 556 500 ] +/Encoding /WinAnsiEncoding +/FontDescriptor 8 0 R +>> +endobj +56 0 obj +<< +/Length 62 +>> +stream +BT +10 20 TD +/F1 14 Tf +(Text that should be italicized.) Tj +ET +endstream +endobj +8 0 obj +<< +/Type /FontDescriptor +/FontName /Arial +/Ascent 728 +/CapHeight 500 +/Descent 208 +/Flags 96 +/FontBBox [ -517 -325 1359 998 ] +/ItalicAngle -120 +/StemV 0 +>> +endobj +xref +0 1 +0000000000 65535 f +8 1 +0000001431 00000 n +52 1 +0000000009 00000 n +53 1 +0000000060 00000 n +54 1 +0000000146 00000 n +55 1 +0000000254 00000 n +56 1 +0000001319 00000 n +trailer +<< +/Size 6 +/Root 52 0 R +>> +startxref +1601 +%%EOF \ No newline at end of file diff --git a/test/test_manifest.json b/test/test_manifest.json index 45de838d2..91029c2d0 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -364,6 +364,13 @@ "rounds": 1, "type": "load" }, + { "id": "bug847420", + "file": "pdfs/bug847420.pdf", + "md5": "0decd96fec4ef858c2c663a6de24e887", + "rounds": 1, + "link": false, + "type": "eq" + }, { "id": "bug878026", "file": "pdfs/bug878026.pdf", "md5": "13072db0586f2b4e96de189e23fc7395",