X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=49e0942106cf448a0bd84d0c0260e25926265c5e;hb=52bf9c42eadcfb02311b9b3e46ac70a391057093;hp=45260197f3971c3efb1564c836b865e232db4dc7;hpb=9f826653fb88e865129c686ccf09d2c700494068;p=swftools.git diff --git a/src/pdf2swf.c b/src/pdf2swf.c index 4526019..49e0942 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -236,6 +236,7 @@ int args_callback_option(char*name,char*val) { else if (!strcmp(name, "f")) { driver->set_parameter("storeallcharacters", "1"); + driver->set_parameter("extrafontdata", "1"); return 0; } else if (!strcmp(name, "w")) @@ -487,9 +488,10 @@ int main(int argn, char *argv[]) initLog(0,-1,0,0,-1,loglevel); - if(installPath) { + /* not needed anymore since fonts are embedded + if(installPath) { fontpaths[fontpathpos++] = concatPaths(installPath, "fonts"); - } + }*/ #ifdef HAVE_SRAND48 srand48(time(0));