summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-06-23 15:10:42 +0200
committerJay Berkenbilt <ejb@ql.org>2019-06-23 19:45:45 +0200
commit04f45cf652f2ee30a677933817aef8971a1f533d (patch)
tree0163524ba53505a0ac79e55f4ed17c4c6dc38e4a /manual
parent0b45dfd3b12b0d74216b2ca6aba964a7f73908b7 (diff)
downloadqpdf-04f45cf652f2ee30a677933817aef8971a1f533d.tar.zst
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.
Diffstat (limited to 'manual')
-rw-r--r--manual/qpdf-manual.xml23
1 files changed, 19 insertions, 4 deletions
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.
</para>
</listitem>
+ <listitem>
+ <para>
+ When <command>qpdf --check</command> or <command>qpdf
+ --check-linearization</command> encounters a file with
+ linearization warnings but not errors, it now properly exits
+ with exit code 3 instead of 2.
+ </para>
+ </listitem>
</itemizedlist>
</listitem>
<listitem>
@@ -4361,6 +4369,14 @@ print "\n";
missing /Length keys in the encryption dictionary.
</para>
</listitem>
+ <listitem>
+ <para>
+ When <command>qpdf --check</command> or <command>qpdf
+ --check-linearization</command> encounters a file with
+ linearization warnings but not errors, it now properly exits
+ with exit code 3 instead of 2.
+ </para>
+ </listitem>
</itemizedlist>
</listitem>
<listitem>
@@ -4462,10 +4478,9 @@ print "\n";
</listitem>
<listitem>
<para>
- A new version of
- <function>QPDF::checkLinearization()</function> has been
- added that indicates separately whether there were errors or
- warnings.
+ All conditions previously reported by
+ <function>QPDF::checkLinearization()</function> as errors
+ are now presented as warnings.
</para>
</listitem>
</itemizedlist>