Thu, 20 Mar 2003 07:44:53 +0000
newline before endstream is NOT the responsibility of callback!
pdf_g4.c | file | annotate | diff | revisions | |
pdf_jpeg.c | file | annotate | diff | revisions | |
pdf_prim.c | file | annotate | diff | revisions |
1.1 --- a/pdf_g4.c Thu Mar 20 07:06:35 2003 +0000 1.2 +++ b/pdf_g4.c Thu Mar 20 07:44:53 2003 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 * tumble: build a PDF file from image files 1.5 * 1.6 * PDF routines 1.7 - * $Id: pdf_g4.c,v 1.15 2003/03/13 00:57:05 eric Exp $ 1.8 + * $Id: pdf_g4.c,v 1.16 2003/03/19 23:44:53 eric Exp $ 1.9 * Copyright 2003 Eric Smith <eric@brouhaha.com> 1.10 * 1.11 * This program is free software; you can redistribute it and/or modify 1.12 @@ -76,7 +76,6 @@ 1.13 struct pdf_g4_image *image = app_data; 1.14 1.15 bitblt_write_g4 (image->bitmap, pdf_file->f); 1.16 - pdf_stream_printf (pdf_file, stream, "\r\n"); 1.17 } 1.18 1.19
2.1 --- a/pdf_jpeg.c Thu Mar 20 07:06:35 2003 +0000 2.2 +++ b/pdf_jpeg.c Thu Mar 20 07:44:53 2003 +0000 2.3 @@ -2,7 +2,7 @@ 2.4 * tumble: build a PDF file from image files 2.5 * 2.6 * PDF routines 2.7 - * $Id: pdf_jpeg.c,v 1.3 2003/03/19 07:39:55 eric Exp $ 2.8 + * $Id: pdf_jpeg.c,v 1.4 2003/03/19 23:44:53 eric Exp $ 2.9 * Copyright 2003 Eric Smith <eric@brouhaha.com> 2.10 * 2.11 * This program is free software; you can redistribute it and/or modify 2.12 @@ -90,8 +90,6 @@ 2.13 if (ferror (image->f)) 2.14 pdf_fatal ("error on input file\n"); 2.15 } 2.16 - 2.17 - pdf_stream_printf (pdf_file, stream, "\r\n"); 2.18 } 2.19 2.20
3.1 --- a/pdf_prim.c Thu Mar 20 07:06:35 2003 +0000 3.2 +++ b/pdf_prim.c Thu Mar 20 07:44:53 2003 +0000 3.3 @@ -2,7 +2,7 @@ 3.4 * tumble: build a PDF file from image files 3.5 * 3.6 * PDF routines 3.7 - * $Id: pdf_prim.c,v 1.12 2003/03/13 00:57:05 eric Exp $ 3.8 + * $Id: pdf_prim.c,v 1.13 2003/03/19 23:44:53 eric Exp $ 3.9 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 3.10 * 3.11 * This program is free software; you can redistribute it and/or modify 3.12 @@ -536,7 +536,8 @@ 3.13 stream, 3.14 stream->val.stream.app_data); 3.15 end_pos = ftell (pdf_file->f); 3.16 - fprintf (pdf_file->f, "endstream\r\n"); 3.17 + 3.18 + fprintf (pdf_file->f, "\r\nendstream\r\n"); 3.19 3.20 pdf_set_integer (stream->val.stream.length, end_pos - begin_pos); 3.21 }