git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added parameter to gfxfontlist_free()
[swftools.git]
/
src
/
pdf2swf.c
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
4526019
..
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"))
@@
-487,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));