1 --- swftools-0.4.3/pdf2swf/SWFOutputDev.cc.orig 2002-08-17 11:23:46.000000000 +0200
2 +++ swftools-0.4.3/pdf2swf/SWFOutputDev.cc 2004-03-27 10:49:41.749263352 +0100
7 - for(i=0; i<T1_Get_no_fonts(); i++)
8 + for(i=0; i<T1_GetNoFonts(); i++)
10 char*fontfilename = T1_GetFontFileName (i);
11 if(strstr(fontfilename, filename))
16 - for(i=0; i<T1_Get_no_fonts(); i++)
17 + for(i=0; i<T1_GetNoFonts(); i++)
19 char*fontname = T1_GetFontName (i);
21 --- swftools-0.4.3/pdf2swf/pdf2swf.cc.orig 2002-08-26 22:34:07.000000000 +0200
22 +++ swftools-0.4.3/pdf2swf/pdf2swf.cc 2004-03-27 11:00:13.212266384 +0100
27 +/* t1lib comes configured in PLD, so we can remove this whole _insecure_ code */
29 logf("<verbose> reading font files from %s/fonts\n", DATADIR);
30 //TODO: use tempnam here. Check if environment already contains a
33 fprintf(fi, "TYPE1=%s:.\n", t1searchpath);
37 /* initialize t1lib */
39 if ((T1_InitLib(NO_LOGFILE)==NULL)){
40 fprintf(stderr, "Initialization of t1lib failed\n");
44 unlink("/tmp/t1lib.config.tmp");
47 pdfswf_init(filename, password);
48 pdfswf_setoutputfilename(outputname);
50 --- swftools-0.4.3/pdf2swf/Makefile.in.orig 2004-03-27 10:48:31.000000000 +0100
51 +++ swftools-0.4.3/pdf2swf/Makefile.in 2004-03-27 11:01:01.333950776 +0100
53 $(mkinstalldirs) $(bindir)
54 $(mkinstalldirs) $(man1dir)
55 @file=pdf2swf;$(INSTALL_BIN);$(INSTALL_MAN1)
56 - $(mkinstalldirs) $(pkgdatadir)/fonts
57 - @for file in $(fonts);do $(INSTALL_DATA) fonts/$$file $(pkgdatadir)/fonts/$$file;done
60 @file=pdf2swf;$(UNINSTALL_BIN);$(UNINSTALL_MAN1)