diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index f41902ae1eb..d63f8574bb2 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,8 @@ +2013-12-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + * pdf/pdfgen.w (pdf_end_stream): Always write "\nendstream" for + PDF/A-1b compliance. + 2013-12-19 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * lua/liolibext.c: Large files in lua. 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) { |