newline before endstream is responsibility of callback function.

Thu, 13 Mar 2003 08:00:21 +0000

author
eric
date
Thu, 13 Mar 2003 08:00:21 +0000
changeset 123
7b5558607c49
parent 122
cdde8bcc17fe
child 124
ba64dfca82e9

newline before endstream is responsibility of callback function.

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