diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-12-14 21:08:54 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-12-14 21:17:23 +0100 |
commit | e9a319fb9536347aeab076cdb18e1ff97eb66c07 (patch) | |
tree | 1479c589e9fb385b3486b51d1e2029a9d1195a5d /qpdf | |
parent | 7393a038686ceb96461afe5d8ffa901a286baee6 (diff) | |
download | qpdf-e9a319fb9536347aeab076cdb18e1ff97eb66c07.tar.zst |
Allow arbitrary whitespace, not just newline, after xref
Fixes #27.
Diffstat (limited to 'qpdf')
-rw-r--r-- | qpdf/qtest/qpdf.test | 1 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/leading-junk.pdf | bin | 13670 -> 13670 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test index b0390cc1..d54adc7e 100644 --- a/qpdf/qtest/qpdf.test +++ b/qpdf/qtest/qpdf.test @@ -464,6 +464,7 @@ $td->runtest("object with zero offset", {$td->COMMAND => "qpdf --check zero-offset.pdf"}, {$td->FILE => "zero-offset.out", $td->EXIT_STATUS => 3}, $td->NORMALIZE_NEWLINES); +# leading-junk also has a space instead of a newline after xref $td->runtest("check file with leading junk", {$td->COMMAND => "qpdf --check leading-junk.pdf"}, {$td->FILE => "leading-junk.out", $td->EXIT_STATUS => 0}, diff --git a/qpdf/qtest/qpdf/leading-junk.pdf b/qpdf/qtest/qpdf/leading-junk.pdf Binary files differindex 2b2a0a2c..45536159 100644 --- a/qpdf/qtest/qpdf/leading-junk.pdf +++ b/qpdf/qtest/qpdf/leading-junk.pdf |