From 04f45cf652f2ee30a677933817aef8971a1f533d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 23 Jun 2019 09:10:42 -0400 Subject: Treat all linearization errors as warnings This also reverts the addition of a new checkLinearization that distinguishes errors from warnings. There's no practical distinction between what was considered an error and what was considered a warning. --- manual/qpdf-manual.xml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'manual') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 26ccfeea..d991a611 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -4314,6 +4314,14 @@ print "\n"; higher level methods for tokenizing content streams. + + + When qpdf --check or qpdf + --check-linearization encounters a file with + linearization warnings but not errors, it now properly exits + with exit code 3 instead of 2. + + @@ -4361,6 +4369,14 @@ print "\n"; missing /Length keys in the encryption dictionary. + + + When qpdf --check or qpdf + --check-linearization encounters a file with + linearization warnings but not errors, it now properly exits + with exit code 3 instead of 2. + + @@ -4462,10 +4478,9 @@ print "\n"; - A new version of - QPDF::checkLinearization() has been - added that indicates separately whether there were errors or - warnings. + All conditions previously reported by + QPDF::checkLinearization() as errors + are now presented as warnings. -- cgit v1.2.3-70-g09d2