From 965de3a235755b87be09ec994e30e8086854c8e1 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 26 Nov 2017 22:52:53 -0800 Subject: [PATCH] Test case for issue #200 --- tests/resources/README.rst | 11 +++++++---- tests/resources/negzero.pdf | Bin 0 -> 2717 bytes tests/test_main.py | 12 ++++++++++-- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 tests/resources/negzero.pdf diff --git a/tests/resources/README.rst b/tests/resources/README.rst index c495ebdf..49ef8917 100644 --- a/tests/resources/README.rst +++ b/tests/resources/README.rst @@ -61,6 +61,9 @@ under the terms of the license in LICENSE.rst. * - cmyk.pdf - @jbarlow83 - a CMYK image created in Photoshop + * - crom.png + - @jbarlow83 + - test for non-dictionary words * - enormous.pdf - @jbarlow83 - very large PDF page @@ -69,7 +72,7 @@ under the terms of the license in LICENSE.rst. - a linearized PDF containing some unusual indirect objects, created by an Epson printer; printout of a Wikipedia article (CC BY-SA) * - formxobject.pdf - @jbarlow83 - - hand-crafted exotic PDF containing an image inside a Form XObject + - hand-crafted PDF containing an image inside a Form XObject * - francais.pdf - @jbarlow83 - a page containing French accents (diacritics) @@ -88,12 +91,12 @@ under the terms of the license in LICENSE.rst. * - overlay.pdf - @maxandersen - PDF file generated by PDFPen pro that triggered content stream parse errors + * - negzero.pdf + - @jbarlow83 + - copy of formxobject.pdf with token that qpdf doesn't like * - no_contents.pdf - @jbarlow83 - synthetic PDF with a blank page that has no /Contents entry - * - crom.png - - @jbarlow83 - - test for non-dictionary words Assemblies diff --git a/tests/resources/negzero.pdf b/tests/resources/negzero.pdf new file mode 100644 index 0000000000000000000000000000000000000000..b45a360ba8b9270418d51874656676f74cd16f63 GIT binary patch literal 2717 zcmbVOU5pb|6h;<_jDoC+KQYFe3Sn8(&b`x_{?T@STIv#5w%J_-MU2y#yWN3yrp!#) z?rMU#NCeSn1Wj-?xX8;!l&CMpL5QKQL~hyfzbF6Y2*Sw7ZQ$d4YvH?<&i+5C@&{k@r9L;N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