Thu, 13 Mar 2003 08:00:21 +0000
newline before endstream is responsibility of callback function.
pdf_prim.c | file | annotate | diff | revisions |
1.1 diff -r cdde8bcc17fe -r 7b5558607c49 pdf_prim.c 1.2 --- a/pdf_prim.c Thu Mar 13 07:59:35 2003 +0000 1.3 +++ b/pdf_prim.c Thu Mar 13 08:00:21 2003 +0000 1.4 @@ -4,7 +4,7 @@ 1.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.6 * 1.7 * PDF routines 1.8 - * $Id: pdf_prim.c,v 1.10 2003/03/12 22:56:57 eric Exp $ 1.9 + * $Id: pdf_prim.c,v 1.11 2003/03/13 00:00:21 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -538,7 +538,7 @@ 1.14 stream, 1.15 stream->val.stream.app_data); 1.16 end_pos = ftell (pdf_file->f); 1.17 - fprintf (pdf_file->f, "\r\nendstream\r\n"); 1.18 + fprintf (pdf_file->f, "endstream\r\n"); 1.19 1.20 pdf_set_integer (stream->val.stream.length, end_pos - begin_pos); 1.21 }