From 36b3fe5af761b7032a506808cf6ce6d37c297bfc Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 11 Aug 2017 20:57:05 -0400 Subject: 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. --- manual/qpdf-manual.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'manual') 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 @@ -931,6 +931,21 @@ outfile.pdf + + + + + Tells qpdf to insert a newline before the + endstream 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. + + + -- cgit v1.2.3-54-g00ecf