X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=15ba46a8f7a17de5cf36a745f065c17ef65fba48;hb=ec56b8f77559462e7ea5726ca8ac3305851265a3;hp=edc9bbc31687e93b5bd35b994151600552fa615f;hpb=2fb94db6898305c25e25dae192b3f73e47a062a7;p=swftools.git diff --git a/src/pdf2swf.c b/src/pdf2swf.c index edc9bbc..15ba46a 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -553,9 +553,10 @@ int main(int argn, char *argv[]) } /* add fonts */ + /* if(fontdir) { driver->set_parameter("fontdir", fontdir); - } + }*/ for(t=0;tset_parameter("fontdir", fontpaths[t]); } @@ -690,6 +691,8 @@ int main(int argn, char *argv[]) char*zip = ""; if(zlib) { zip = "-z"; + } + if(!preloader && viewer) { systemf("swfcombine %s -X %d -Y %d \"%s\" viewport=\"%s\" -o \"%s\"",zip,width,height, viewer, outputname, outputname); if(!system_quiet)