diff --git a/pdf_g4.c b/pdf_g4.c index 067bd60..ccfc447 100644 --- a/pdf_g4.c +++ b/pdf_g4.c @@ -2,7 +2,7 @@ * tumble: build a PDF file from image files * * PDF routines - * $Id: pdf_g4.c,v 1.15 2003/03/13 00:57:05 eric Exp $ + * $Id: pdf_g4.c,v 1.16 2003/03/19 23:44:53 eric Exp $ * Copyright 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -76,7 +76,6 @@ static void pdf_write_g4_fax_image_callback (pdf_file_handle pdf_file, struct pdf_g4_image *image = app_data; bitblt_write_g4 (image->bitmap, pdf_file->f); - pdf_stream_printf (pdf_file, stream, "\r\n"); } diff --git a/pdf_jpeg.c b/pdf_jpeg.c index 5686e88..bf51f56 100644 --- a/pdf_jpeg.c +++ b/pdf_jpeg.c @@ -2,7 +2,7 @@ * tumble: build a PDF file from image files * * PDF routines - * $Id: pdf_jpeg.c,v 1.3 2003/03/19 07:39:55 eric Exp $ + * $Id: pdf_jpeg.c,v 1.4 2003/03/19 23:44:53 eric Exp $ * Copyright 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -90,8 +90,6 @@ static void pdf_write_jpeg_image_callback (pdf_file_handle pdf_file, if (ferror (image->f)) pdf_fatal ("error on input file\n"); } - - pdf_stream_printf (pdf_file, stream, "\r\n"); } diff --git a/pdf_prim.c b/pdf_prim.c index e762a9c..b7f9c23 100644 --- a/pdf_prim.c +++ b/pdf_prim.c @@ -2,7 +2,7 @@ * tumble: build a PDF file from image files * * PDF routines - * $Id: pdf_prim.c,v 1.12 2003/03/13 00:57:05 eric Exp $ + * $Id: pdf_prim.c,v 1.13 2003/03/19 23:44:53 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -536,7 +536,8 @@ 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, "endstream\r\n"); + + fprintf (pdf_file->f, "\r\nendstream\r\n"); pdf_set_integer (stream->val.stream.length, end_pos - begin_pos); }