[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Special compile for web appliance
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Special compile for web appliance |
Date: |
Mon, 21 Jun 2004 14:59:26 +0200 |
User-agent: |
Mutt/1.5.6i |
On Mon, Jun 21, 2004 at 12:49:11AM -0400, Lon Lentz wrote:
> Is there a way to compile swftools (primarily pdf2swf and swfcombine)
> so that all of the files it is dependent on can be included in one
> directory?
The only tool which needs any other files is pdf2swf-
the two paths it uses are defined at the top of pdf2swf.cc:
#define FONTDIR SWFTOOLS_DATADIR "/fonts"
#define SWFDIR SWFTOOLS_DATADIR "/swfs"
So if you change them to your directory, say, /var/www/swftools:
#define FONTDIR "/var/www/swftools"
#define SWFDIR "/var/www/swftools"
and then copy
a) everything from pdf2swf/fonts
b) all *.swf files from swfs
into that directory, it should work.
If you are using one of the -B, -L, -b, -l options, you should
also make sure that swfcombine is in the PATH, so that pdf2swf
can find it.
Greetings
Matthias