1.1 --- a/tumble.c Tue Jan 01 05:41:03 2002 +0000 1.2 +++ b/tumble.c Tue Jan 01 06:11:43 2002 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 * encoding. 1.5 * 1.6 * Main program 1.7 - * $Id: tumble.c,v 1.10 2001/12/31 21:41:03 eric Exp $ 1.8 + * $Id: tumble.c,v 1.11 2001/12/31 22:11:43 eric Exp $ 1.9 * Copyright 2001 Eric Smith <eric@brouhaha.com> 1.10 * 1.11 * This program is free software; you can redistribute it and/or modify 1.12 @@ -114,7 +114,8 @@ 1.13 return (1); 1.14 } 1.15 1.16 -boolean open_pdf_output_file (char *name) 1.17 +boolean open_pdf_output_file (char *name, 1.18 + pdf_file_attributes_t *attributes) 1.19 { 1.20 output_file_t *o; 1.21 1.22 @@ -150,6 +151,17 @@ 1.23 return (0); 1.24 } 1.25 1.26 + if (attributes->author) 1.27 + panda_setauthor (o->pdf, attributes->author); 1.28 + if (attributes->creator) 1.29 + panda_setcreator (o->pdf, attributes->creator); 1.30 + if (attributes->title) 1.31 + panda_settitle (o->pdf, attributes->title); 1.32 + if (attributes->subject) 1.33 + panda_setsubject (o->pdf, attributes->subject); 1.34 + if (attributes->keywords) 1.35 + panda_setkeywords (o->pdf, attributes->keywords); 1.36 + 1.37 /* prepend new output file onto list */ 1.38 o->next = output_files; 1.39 output_files = o;