git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed mem leak
[swftools.git]
/
src
/
pdf2swf.c
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
6e1c096
..
49e0942
100644
(file)
--- 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");
else if (!strcmp(name, "f"))
{
driver->set_parameter("storeallcharacters", "1");
+ driver->set_parameter("extrafontdata", "1");
return 0;
}
else if (!strcmp(name, "w"))
return 0;
}
else if (!strcmp(name, "w"))
@@
-414,6
+415,7
@@
void args_callback_usage(char*name)
" graphic errors)\n");
printf("-s filloverlap Make intersecting shapes overlap, instead of canceling each\n"
" other out. (Needed for some Powerpoint PDFs)\n");
" graphic errors)\n");
printf("-s filloverlap Make intersecting shapes overlap, instead of canceling each\n"
" other out. (Needed for some Powerpoint PDFs)\n");
+ printf("-s transparent Make the SWF transparent\n");
//deliberately undocumented (for now)
//printf("-2 Put 2 pages into each frame.\n");
//printf("-4 Put 4 pages into each frame.\n");
//deliberately undocumented (for now)
//printf("-2 Put 2 pages into each frame.\n");
//printf("-4 Put 4 pages into each frame.\n");
@@
-486,9
+488,10
@@
int main(int argn, char *argv[])
initLog(0,-1,0,0,-1,loglevel);
initLog(0,-1,0,0,-1,loglevel);
- if(installPath) {
+ /* not needed anymore since fonts are embedded
+ if(installPath) {
fontpaths[fontpathpos++] = concatPaths(installPath, "fonts");
fontpaths[fontpathpos++] = concatPaths(installPath, "fonts");
- }
+ }*/
#ifdef HAVE_SRAND48
srand48(time(0));
#ifdef HAVE_SRAND48
srand48(time(0));