summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-23 10:14:27 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-23 10:14:27 +0000
commitd54e3baa09d525345ccc0bcc59994e27f18dc227 (patch)
tree21f2b312d7adccd2094c0409cb6d68bea36a5ec0 /Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
parenta3dd82450c40e0beb84a05e8425b0e551ff9653e (diff)
luaTeX,pdfTeX: Always precede "endstream" by NL for PDF/A-1b compliance
git-svn-id: svn://tug.org/texlive/trunk@32472 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf/pdfgen.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfgen.w3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
index 21864e158b0..50730d3b56f 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
@@ -712,8 +712,7 @@ void pdf_end_stream(PDF pdf)
assert(pdf->buf == os->buf[os->curbuf]);
pdf->stream_deflate = false;
pdf->stream_writing = false;
- if (pdf->last_byte != '\n')
- pdf_out(pdf, '\n'); /* doesn't really belong to the stream */
+ pdf_out(pdf, '\n'); /* doesn't really belong to the stream */
pdf_puts(pdf, "endstream");
/* write stream /Length */
if (pdf->seek_write_length && pdf->draftmode == 0) {