diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-13 23:52:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-13 23:52:05 +0000 |
commit | 34c86b96d68e5f9aebe704e1fa7f390cd10299d9 (patch) | |
tree | d1651c2004e3ed7187df0fe6620107420c7f0629 /Build/source/texk/dvipdfm | |
parent | e27633a864855a8903c3027ab781ecbeda441ee2 (diff) |
doc fix
git-svn-id: svn://tug.org/texlive/trunk@11608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm')
-rw-r--r-- | Build/source/texk/dvipdfm/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm/pdfobj.c | 6 |
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 |