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