summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-01-09 08:14:39 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-01-09 08:14:39 +0000
commit674b9fae633e3b003348078d0e997975025f329e (patch)
treed3237aebf0f9cad503d74812861b6c0c9a2f9517 /Build/source/texk/web2c
parenta0b37b749524efe4ee8a6b8818d9e30d153a5848 (diff)
pdfTeX: Always precede "endstream" by NL for PDF/A-1b compliance
git-svn-id: svn://tug.org/texlive/trunk@32613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftoepdf.cc3
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index cad59d4029d..aa77eec0a40 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-09 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pdftoepdf.cc (copyObject): Always write "\nendstream" for
+ PDF/A-1b compliance.
+
2014-01-02 Peter Breitenlohner <peb@mppmu.mpg.de>
* writepng.c: Allow libpng >= 1.6.3 to read images with
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
index 8603b70f9e8..fa7fa1bf1d5 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
@@ -604,8 +604,7 @@ static void copyObject(Object * obj)
pdf_puts(">>\n");
pdf_puts("stream\n");
copyStream(obj->getStream()->getUndecodedStream());
- pdf_newline();
- pdf_puts("endstream"); // can't simply write pdfendstream()
+ pdf_puts("\nendstream");
} else if (obj->isRef()) {
ref = obj->getRef();
if (ref.num == 0) {