pdf.c

changeset 118
c22e1c0a64fd
parent 114
6f9b00c7b076
child 124
ba64dfca82e9
     1.1 --- a/pdf.c	Thu Mar 13 03:39:38 2003 +0000
     1.2 +++ b/pdf.c	Thu Mar 13 06:56:57 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.c,v 1.7 2003/03/12 03:17:00 eric Exp $
     1.8 + * $Id: pdf.c,v 1.8 2003/03/12 22:56:57 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 @@ -181,7 +181,7 @@
    1.13    pdf_add_array_elem (page->media_box, pdf_new_real (height));
    1.14  
    1.15    page->procset = pdf_new_obj (PT_ARRAY);
    1.16 -  pdf_add_array_elem (page->procset, pdf_new_name ("PDF"));
    1.17 +  pdf_add_array_elem_unique (page->procset, pdf_new_name ("PDF"));
    1.18  
    1.19    page->resources = pdf_new_obj (PT_DICTIONARY);
    1.20    pdf_set_dict_entry (page->resources, "ProcSet", page->procset);