newline before endstream is responsibility of callback function.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* will be compressed using ITU-T T.6 (G4) fax encoding.
|
||||
*
|
||||
* PDF routines
|
||||
* $Id: pdf_prim.c,v 1.10 2003/03/12 22:56:57 eric Exp $
|
||||
* $Id: pdf_prim.c,v 1.11 2003/03/13 00:00:21 eric Exp $
|
||||
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -538,7 +538,7 @@ void pdf_write_stream (pdf_file_handle pdf_file, struct pdf_obj *stream)
|
||||
stream,
|
||||
stream->val.stream.app_data);
|
||||
end_pos = ftell (pdf_file->f);
|
||||
fprintf (pdf_file->f, "\r\nendstream\r\n");
|
||||
fprintf (pdf_file->f, "endstream\r\n");
|
||||
|
||||
pdf_set_integer (stream->val.stream.length, end_pos - begin_pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user