aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-04-20 23:38:30 +0200
committerJay Berkenbilt <ejb@ql.org>2019-04-21 03:00:43 +0200
commit131a21d36f68370c39b349b8c3628dac5ad8f73a (patch)
treed868eecede808272a21574a2acb8ad993ddceab7
parenta5a016cdd26a8e5c99e5f019bc30d1bdf6c050a2 (diff)
downloadqpdf-131a21d36f68370c39b349b8c3628dac5ad8f73a.tar.zst
Document that linearize disables qdf (fixes #312)
-rw-r--r--manual/qpdf-manual.xml7
-rw-r--r--qpdf/qpdf.cc3
2 files changed, 7 insertions, 3 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index d43d96a6..c2df34bf 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -1826,7 +1826,8 @@ outfile.pdf</option>
<listitem>
<para>
Turns on QDF mode. For additional information on QDF, please
- see <xref linkend="ref.qdf"/>.
+ see <xref linkend="ref.qdf"/>. Note that
+ <option>--linearize</option> disables QDF mode.
</para>
</listitem>
</varlistentry>
@@ -2364,7 +2365,9 @@ outfile.pdf</option>
some restrictions, in an ordinary text editor. This can be very
useful for experimenting with different PDF constructs or for
making one-off edits to PDF files (though there are other reasons
- why this may not always work).
+ why this may not always work). Note that QDF mode does not support
+ linearized files. If you enable linearization, QDF mode is
+ automatically disabled.
</para>
<para>
It is ordinarily very difficult to edit PDF files in a text editor
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index dec88241..86c0b7a5 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1378,7 +1378,8 @@ ArgParser::argHelp()
<< " including DCT (JPEG)\n"
<< "\n"
<< "In qdf mode, by default, content normalization is turned on, and the\n"
- << "stream data mode is set to uncompress.\n"
+ << "stream data mode is set to uncompress. QDF mode does not support\n"
+ << "linearized files. The --linearize flag disables qdf mode.\n"
<< "\n"
<< "Setting the minimum PDF version of the output file may raise the version\n"
<< "but will never lower it. Forcing the PDF version of the output file may\n"