[NTG-pdftex] [ pdftex-Bugs-393 ] Ensure newline before endstream

noreply at sarovar.org noreply at sarovar.org
Fri Jan 6 23:45:15 CET 2006


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


More information about the ntg-pdftex mailing list