summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"