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