summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm/pdfobj.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm/ChangeLog b/Build/source/texk/dvipdfm/ChangeLog
index e4efdccb07c..e367ac0537b 100644
--- a/Build/source/texk/dvipdfm/ChangeLog
+++ b/Build/source/texk/dvipdfm/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-11 Karl Berry <karl@tug.org>
+
+ * pdfobj.c: doc fix.
+
2008-12-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* pdfobj.c (pdf_version): change default to 4.
diff --git a/Build/source/texk/dvipdfm/pdfobj.c b/Build/source/texk/dvipdfm/pdfobj.c
index 5280ea3778a..ea0b6d0fead 100644
--- a/Build/source/texk/dvipdfm/pdfobj.c
+++ b/Build/source/texk/dvipdfm/pdfobj.c
@@ -1,7 +1,7 @@
/* $Header$
This is dvipdfm, a DVI to PDF translator.
- Copyright (C) 1998, 1999 by Mark A. Wicks
+ Copyright (C) 1998, 1999, 2008 by Mark A. Wicks
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -150,6 +150,10 @@ MEM_START
v = '0'+pdf_version;
pdf_out (pdf_output_file, &v, 1);
pdf_out (pdf_output_file, "\n", 1);
+ /* Adobe recommends writing % and four non-ASCII bytes in the second
+ line of a PDF, so that programs have a better chance of realizing
+ it is not a text file. The string here is "%" followed by "pdfm"
+ with the 8th bit set on each letter. */
pdf_out (pdf_output_file, "\045\360\344\346\355\n", 6);
#ifdef MEM_DEBUG
MEM_END