aboutsummaryrefslogtreecommitdiffstats
path: root/manual/qpdf-manual.xml
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-08-12 02:57:05 +0200
committerJay Berkenbilt <ejb@ql.org>2017-08-12 02:57:05 +0200
commit36b3fe5af761b7032a506808cf6ce6d37c297bfc (patch)
treedfe58edc693033677cc16988c59151315fbda27b /manual/qpdf-manual.xml
parent46611f0710fa08f1a90134a84cfccec3a1e49f94 (diff)
downloadqpdf-36b3fe5af761b7032a506808cf6ce6d37c297bfc.tar.zst
Fix --newline-before-endstream option (fixes #133)
Add a newline unconditionally before endstream even if a newline was already written as part of the stream data.
Diffstat (limited to 'manual/qpdf-manual.xml')
-rw-r--r--manual/qpdf-manual.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index a944f38a..06504d33 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -932,6 +932,21 @@ outfile.pdf</option>
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--newline-before-endstream</option></term>
+ <listitem>
+ <para>
+ Tells qpdf to insert a newline before the
+ <literal>endstream</literal> keyword, not counted in the
+ length, after any stream content even if the last character of
+ the stream was a newline. This may result in two newlines in
+ some cases. This is a requirement of PDF/A. While qpdf doesn't
+ specifically know how to generate PDF/A-compliant PDFs, this
+ at least prevents it from removing compliance on already
+ compliant files.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--qdf</option></term>
<listitem>
<para>