[ pdftex-Bugs-393 ] Ensure newline before endstream
![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Bugs item #393, was opened at 2005-07-25 16:09 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=393&group_id=106 Category: None Group: v1.30.0 Status: Open Resolution: None Priority: 2 Submitted By: Martin Schröder (oneiros) Assigned to: Martin Schröder (oneiros) Summary: Ensure newline before endstream Initial Comment: As reported by Hans, there is not always a newline before endstream, although the PDF reference recommends it. Any change needs careful testing. ----------------------------------------------------------------------
Comment By: Hartmut Henkel (hhenkel) Date: 2006-01-06 23:45
Message: Logged In: YES user_id=929 Implementation of pdf_end_stream() changed: Last byte within any stream written to the PDF file is now remembered in pdf_last_byte, so that one can check if a separate pdf_new_line_char "\n" is needed before "endstream". No need to look back in maybe already flushed pdfbuf. Patch to 1.40.0-alpha-20060106. Plus a few tiny patches. Regards, Hartmut ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=393&group_id=106
![](https://secure.gravatar.com/avatar/d8110a8a8a97be0803549ea5ee2e638b.jpg?s=120&d=mm&r=g)
On 2006-01-07 04:15:15 +0530, noreply@sarovar.org wrote:
Implementation of pdf_end_stream() changed: Last byte within any stream written to the PDF file is now remembered in pdf_last_byte, so that one can check if a separate pdf_new_line_char "\n" is needed before "endstream". No need to look back in maybe already flushed pdfbuf.
Thanks; now the pdf on the title is one line longer. :-) Best Martin -- http://www.tm.oneiros.de
participants (2)
-
Martin Schröder
-
noreply@sarovar.org