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 workaround for broken Flash text selection
[swftools.git]
/
src
/
gfx2gfx.c
diff --git
a/src/gfx2gfx.c
b/src/gfx2gfx.c
index
85d6882
..
67951a1
100644
(file)
--- a/
src/gfx2gfx.c
+++ b/
src/gfx2gfx.c
@@
-34,6
+34,7
@@
#include "../../swftools/lib/devices/swf.h"
#include "../../swftools/lib/devices/text.h"
#include "../../swftools/lib/devices/render.h"
#include "../../swftools/lib/devices/swf.h"
#include "../../swftools/lib/devices/text.h"
#include "../../swftools/lib/devices/render.h"
+#include "../../swftools/lib/devices/file.h"
#include "../../swftools/lib/devices/bbox.h"
#ifdef HAVE_LRF
#include "../../swftools/lib/devices/lrf.h"
#include "../../swftools/lib/devices/bbox.h"
#ifdef HAVE_LRF
#include "../../swftools/lib/devices/lrf.h"
@@
-258,6
+259,8
@@
int main(int argn, char *argv[])
out->setparameter(out, "antialize", "4");
} else if(!strcasecmp(format, "txt")) {
gfxdevice_text_init(out);
out->setparameter(out, "antialize", "4");
} else if(!strcasecmp(format, "txt")) {
gfxdevice_text_init(out);
+ } else if(!strcasecmp(format, "log")) {
+ gfxdevice_file_init(out, "/tmp/device.log");
} else if(!strcasecmp(format, "pdf")) {
gfxdevice_pdf_init(out);
} else {
} else if(!strcasecmp(format, "pdf")) {
gfxdevice_pdf_init(out);
} else {