diff --git a/tests/resources/README.rst b/tests/resources/README.rst index 49ef8917..561c5fa7 100644 --- a/tests/resources/README.rst +++ b/tests/resources/README.rst @@ -97,6 +97,9 @@ under the terms of the license in LICENSE.rst. * - no_contents.pdf - @jbarlow83 - synthetic PDF with a blank page that has no /Contents entry + * - trivial.pdf + - @jbarlow83 + - smallest possible valid PDF-1.3 with all required fields Assemblies diff --git a/tests/resources/trivial.pdf b/tests/resources/trivial.pdf new file mode 100644 index 00000000..c7775972 --- /dev/null +++ b/tests/resources/trivial.pdf @@ -0,0 +1,27 @@ +%PDF-1.3 +%¿÷¢þ +1 0 obj +<< /Pages 2 0 R /Type /Catalog >> +endobj +2 0 obj +<< /Count 1 /Kids [ 3 0 R ] /Type /Pages >> +endobj +3 0 obj +<< /Contents 4 0 R /MediaBox [ 0 0 300 300 ] /Parent 2 0 R /Resources << >> /Type /Page >> +endobj +4 0 obj +<< /Length 0 >> +stream +endstream +endobj +xref +0 5 +0000000000 65535 f +0000000015 00000 n +0000000064 00000 n +0000000123 00000 n +0000000229 00000 n +trailer << /Root 1 0 R /Size 5 /ID [<8088c23e0edc07ef4fbed3daa55f52ed><8088c23e0edc07ef4fbed3daa55f52ed>] >> +startxref +277 +%%EOF