swftools.git
19 years agoadded handling for incomplete tags during file reading.
kramm [Mon, 8 Nov 2004 18:19:46 +0000 (18:19 +0000)]
added handling for incomplete tags during file reading.

19 years agodepth is now an U16 in swf_RenderShape().
kramm [Mon, 8 Nov 2004 18:19:34 +0000 (18:19 +0000)]
depth is now an U16 in swf_RenderShape().

19 years agogenerated from configure.in.
kramm [Sun, 7 Nov 2004 20:25:47 +0000 (20:25 +0000)]
generated from configure.in.

19 years agoadded comment about SHOWFRAME code alternative.
kramm [Sun, 7 Nov 2004 19:33:04 +0000 (19:33 +0000)]
added comment about SHOWFRAME code alternative.

19 years agoincreased frame numbers by 1.
kramm [Sun, 7 Nov 2004 19:32:42 +0000 (19:32 +0000)]
increased frame numbers by 1.

19 years agolet SHOWFRAME tags print out the correct number of the frame they show.
kramm [Sun, 7 Nov 2004 19:32:14 +0000 (19:32 +0000)]
let SHOWFRAME tags print out the correct number of the frame they show.

19 years agoApplied Moriyoshi Koizumi's CID Type 2 patch.
kramm [Sun, 7 Nov 2004 17:22:43 +0000 (17:22 +0000)]
Applied Moriyoshi Koizumi's CID Type 2 patch.

19 years agofixed -f handling (delete object again on the next frame).
kramm [Sun, 7 Nov 2004 17:04:12 +0000 (17:04 +0000)]
fixed -f handling (delete object again on the next frame).

19 years agoremoved debug routines around malloc(0) handling.
kramm [Sun, 7 Nov 2004 17:03:29 +0000 (17:03 +0000)]
removed debug routines around malloc(0) handling.

19 years agofixed malloc(0).
kramm [Sun, 7 Nov 2004 17:02:59 +0000 (17:02 +0000)]
fixed malloc(0).

19 years agoadded "SHARED".
kramm [Sun, 7 Nov 2004 16:26:16 +0000 (16:26 +0000)]
added "SHARED".

19 years agoadded MacOS X -shared/-bundle handling.
kramm [Sun, 7 Nov 2004 16:25:51 +0000 (16:25 +0000)]
added MacOS X -shared/-bundle handling.

19 years ago* always add a final SHOWFRAME tag
kramm [Sun, 7 Nov 2004 16:25:23 +0000 (16:25 +0000)]
* always add a final SHOWFRAME tag
* .stop now also has a no-argument version

19 years agolet END tags increase the frame count under special circumstances.
kramm [Sun, 7 Nov 2004 16:24:50 +0000 (16:24 +0000)]
let END tags increase the frame count under special circumstances.

19 years agouse @SHARED@ instead of -shared.
kramm [Sun, 7 Nov 2004 16:24:23 +0000 (16:24 +0000)]
use @SHARED@ instead of -shared.

19 years agoadded items.
kramm [Fri, 5 Nov 2004 20:33:02 +0000 (20:33 +0000)]
added items.

19 years agoadded rfx_realloc().
kramm [Fri, 5 Nov 2004 17:34:15 +0000 (17:34 +0000)]
added rfx_realloc().

19 years ago* added swfrender interface
kramm [Fri, 5 Nov 2004 17:33:44 +0000 (17:33 +0000)]
* added swfrender interface
* renamed alloc functions.

19 years agoremoved high-level memory allocation functions from q.c to rfxswf.c.
kramm [Fri, 5 Nov 2004 17:32:46 +0000 (17:32 +0000)]
removed high-level memory allocation functions from q.c to rfxswf.c.

19 years agonew functions
kramm [Fri, 5 Nov 2004 17:32:22 +0000 (17:32 +0000)]
new functions
swf_isImageTag()
swf_isShapeTag()
swf_CopyTag()

19 years agofixed byte order in swf_JPEG2TagToImage().
kramm [Fri, 5 Nov 2004 17:30:08 +0000 (17:30 +0000)]
fixed byte order in swf_JPEG2TagToImage().

19 years agochanged from malloc to rfx_alloc.
kramm [Fri, 5 Nov 2004 17:29:52 +0000 (17:29 +0000)]
changed from malloc to rfx_alloc.

19 years agoinsert frames added with -f at depth 65535, not depth 0.
kramm [Wed, 3 Nov 2004 18:53:05 +0000 (18:53 +0000)]
insert frames added with -f at depth 65535, not depth 0.

19 years agofix: don't insert too many removeobjects.
kramm [Wed, 3 Nov 2004 18:52:55 +0000 (18:52 +0000)]
fix: don't insert too many removeobjects.

19 years agofixed swf_Optimize(). always return positive tag hash.
kramm [Wed, 3 Nov 2004 18:52:41 +0000 (18:52 +0000)]
fixed swf_Optimize(). always return positive tag hash.

19 years ago* added fontconfig parameter
kramm [Tue, 2 Nov 2004 17:59:34 +0000 (17:59 +0000)]
* added fontconfig parameter
* disable fontconfig if initialization fails
* added fontconfig debugging log statements

19 years agoremoved debugging printf.
kramm [Tue, 2 Nov 2004 17:59:24 +0000 (17:59 +0000)]
removed debugging printf.

19 years agosome languagedir related bugfixes.
kramm [Mon, 1 Nov 2004 19:41:17 +0000 (19:41 +0000)]
some languagedir related bugfixes.

19 years agoadded path handling for language packs.
kramm [Mon, 1 Nov 2004 19:39:50 +0000 (19:39 +0000)]
added path handling for language packs.

19 years agoadded a few more dependencies.
kramm [Mon, 1 Nov 2004 19:39:14 +0000 (19:39 +0000)]
added a few more dependencies.

19 years agofixed handling of grayscale images with bpp!=8
kramm [Mon, 1 Nov 2004 15:02:39 +0000 (15:02 +0000)]
fixed handling of grayscale images with bpp!=8

19 years agoinserted fill style definitions from modules/swfshape.c
kramm [Mon, 1 Nov 2004 14:54:22 +0000 (14:54 +0000)]
inserted fill style definitions from modules/swfshape.c

19 years agoswf_GetPlaceObject() can now also parse PLACEOBJECTs.
kramm [Mon, 1 Nov 2004 14:54:11 +0000 (14:54 +0000)]
swf_GetPlaceObject() can now also parse PLACEOBJECTs.

19 years agomoved fillstyle definitions to ../rfxswf.c
kramm [Mon, 1 Nov 2004 14:53:58 +0000 (14:53 +0000)]
moved fillstyle definitions to ../rfxswf.c

19 years agoallow only the original image width/height in movie->addFrame().
kramm [Mon, 1 Nov 2004 10:34:14 +0000 (10:34 +0000)]
allow only the original image width/height in movie->addFrame().

19 years agoallow some other image sizes in movie->addFrame().
kramm [Mon, 1 Nov 2004 10:33:57 +0000 (10:33 +0000)]
allow some other image sizes in movie->addFrame().

19 years agoadded (undocumented) -O parameter.
kramm [Sat, 30 Oct 2004 17:06:52 +0000 (17:06 +0000)]
added (undocumented) -O parameter.

19 years agosome bugfixes around -z.
kramm [Sat, 30 Oct 2004 15:19:48 +0000 (15:19 +0000)]
some bugfixes around -z.

19 years agoadded -z option.
kramm [Sat, 30 Oct 2004 15:18:14 +0000 (15:18 +0000)]
added -z option.

19 years agoregenerated usage string from swfbbox.doc.
kramm [Sat, 30 Oct 2004 15:17:42 +0000 (15:17 +0000)]
regenerated usage string from swfbbox.doc.

19 years agoAdded -s option documentation.
kramm [Sat, 30 Oct 2004 15:17:15 +0000 (15:17 +0000)]
Added -s option documentation.

19 years agoremoved duplicate bitrate option.
kramm [Sat, 30 Oct 2004 15:16:45 +0000 (15:16 +0000)]
removed duplicate bitrate option.

19 years agoremoved swf_Optimize() again, as it's not working yet.
kramm [Sat, 30 Oct 2004 15:16:15 +0000 (15:16 +0000)]
removed swf_Optimize() again, as it's not working yet.

19 years agoregenerated from *.doc.
kramm [Sat, 30 Oct 2004 15:12:07 +0000 (15:12 +0000)]
regenerated from *.doc.

19 years agoalways set the version to 6 if the file is zlib-compressed.
kramm [Sat, 30 Oct 2004 15:11:27 +0000 (15:11 +0000)]
always set the version to 6 if the file is zlib-compressed.

19 years agoadded swf_ExtractImage() function.
kramm [Fri, 29 Oct 2004 14:24:17 +0000 (14:24 +0000)]
added swf_ExtractImage() function.

19 years agofixed extract definebitsjpeg2 "no boundary" bug.
kramm [Fri, 29 Oct 2004 09:07:46 +0000 (09:07 +0000)]
fixed extract definebitsjpeg2 "no boundary" bug.

19 years ago* added optimizing
kramm [Thu, 28 Oct 2004 16:31:16 +0000 (16:31 +0000)]
* added optimizing
* fixed framelabel for frame 0

19 years agofor MacOS X, changed -lpython to -framework Python.
kramm [Thu, 28 Oct 2004 16:31:04 +0000 (16:31 +0000)]
for MacOS X, changed -lpython to -framework Python.

19 years agosome indenting/style fixes.
kramm [Thu, 28 Oct 2004 16:30:52 +0000 (16:30 +0000)]
some indenting/style fixes.

19 years agolines which are too long are now split.
kramm [Thu, 28 Oct 2004 16:30:47 +0000 (16:30 +0000)]
lines which are too long are now split.

19 years agoadded swf_Optimize().
kramm [Wed, 27 Oct 2004 14:00:42 +0000 (14:00 +0000)]
added swf_Optimize().

19 years agofixed swf_Optimize().
kramm [Wed, 27 Oct 2004 14:00:26 +0000 (14:00 +0000)]
fixed swf_Optimize().

19 years agofixed python MacOS X detection.
kramm [Wed, 27 Oct 2004 10:40:20 +0000 (10:40 +0000)]
fixed python MacOS X detection.

19 years agofixed MacOS X paths.
kramm [Wed, 27 Oct 2004 10:40:03 +0000 (10:40 +0000)]
fixed MacOS X paths.

19 years agoadded swf_Optimize() method.
kramm [Tue, 26 Oct 2004 16:12:38 +0000 (16:12 +0000)]
added swf_Optimize() method.

19 years agoadded items.
kramm [Tue, 26 Oct 2004 15:42:11 +0000 (15:42 +0000)]
added items.

19 years agogenerated from configure.in
kramm [Tue, 26 Oct 2004 15:35:03 +0000 (15:35 +0000)]
generated from configure.in

19 years agoA missing t1lib.h or libt1 makes no difference. Added a respective message
kramm [Tue, 26 Oct 2004 15:23:06 +0000 (15:23 +0000)]
A missing t1lib.h or libt1 makes no difference. Added a respective message
to the configure output.

19 years agoreversed the order of r,g,b in the 16 bit conversion.
kramm [Tue, 26 Oct 2004 15:22:40 +0000 (15:22 +0000)]
reversed the order of r,g,b in the 16 bit conversion.

19 years agoadded pdfswf_addlanguagedir() function.
kramm [Tue, 26 Oct 2004 15:12:08 +0000 (15:12 +0000)]
added pdfswf_addlanguagedir() function.

19 years agonew function pdfswf_addlanguagedir().
kramm [Tue, 26 Oct 2004 15:11:55 +0000 (15:11 +0000)]
new function pdfswf_addlanguagedir().

19 years agofixed logging of parameter parsing.
kramm [Tue, 26 Oct 2004 15:11:44 +0000 (15:11 +0000)]
fixed logging of parameter parsing.

19 years agomade parseFile() public.
kramm [Tue, 26 Oct 2004 15:11:33 +0000 (15:11 +0000)]
made parseFile() public.

19 years agofixed log level bug.
kramm [Tue, 26 Oct 2004 15:11:22 +0000 (15:11 +0000)]
fixed log level bug.

19 years agoadded quicktime command.
kramm [Tue, 26 Oct 2004 10:37:37 +0000 (10:37 +0000)]
added quicktime command.

19 years agorenamed U16 to USHORT, to make compiling work.
kramm [Sun, 24 Oct 2004 17:25:38 +0000 (17:25 +0000)]
renamed U16 to USHORT, to make compiling work.

19 years agoadded rotate parameter to .gradient.
kramm [Sun, 24 Oct 2004 15:05:35 +0000 (15:05 +0000)]
added rotate parameter to .gradient.

19 years agoadded chapter about outlines.
kramm [Sun, 24 Oct 2004 15:04:52 +0000 (15:04 +0000)]
added chapter about outlines.

19 years agodon't try to compile with lang!=swfc.
kramm [Sun, 24 Oct 2004 15:04:24 +0000 (15:04 +0000)]
don't try to compile with lang!=swfc.

19 years agorenamed xpdfrc to pdf2swf.conf, to prevent xpdf configuration "leaking"
kramm [Sat, 23 Oct 2004 18:25:51 +0000 (18:25 +0000)]
renamed xpdfrc to pdf2swf.conf, to prevent xpdf configuration "leaking"
into pdf2swf.

19 years agoAdded SVG compatiblity fixes to parser.
kramm [Sat, 23 Oct 2004 18:25:25 +0000 (18:25 +0000)]
Added SVG compatiblity fixes to parser.

19 years agoremoved -b duplicate.
kramm [Sat, 23 Oct 2004 14:28:19 +0000 (14:28 +0000)]
removed -b duplicate.

19 years agoswf_VideoStreamSetDefine() now sets the same movie size as swf_SetVideoFrame().
kramm [Sat, 23 Oct 2004 14:27:48 +0000 (14:27 +0000)]
swf_VideoStreamSetDefine() now sets the same movie size as swf_SetVideoFrame().

19 years ago* added decoding for RLE-encoded DCT values.
kramm [Sat, 23 Oct 2004 14:27:20 +0000 (14:27 +0000)]
* added decoding for RLE-encoded DCT values.

19 years agoadded function name fix from Marcus Doemling.
kramm [Fri, 22 Oct 2004 19:01:54 +0000 (19:01 +0000)]
added function name fix from Marcus Doemling.

19 years agoadded some log messages to the font directory routines.
kramm [Fri, 22 Oct 2004 16:38:20 +0000 (16:38 +0000)]
added some log messages to the font directory routines.

19 years agomoved addfontdir to SWFOutputDev.cc.
kramm [Fri, 22 Oct 2004 15:08:32 +0000 (15:08 +0000)]
moved addfontdir to SWFOutputDev.cc.

19 years agocheck result value of swf_output_save().
kramm [Fri, 22 Oct 2004 15:08:25 +0000 (15:08 +0000)]
check result value of swf_output_save().

19 years ago* added getDimensions() method to OutputDev
kramm [Fri, 22 Oct 2004 15:08:05 +0000 (15:08 +0000)]
* added getDimensions() method to OutputDev
* logging interface changed.

19 years agoadded boolean return value to save().
kramm [Fri, 22 Oct 2004 15:07:57 +0000 (15:07 +0000)]
added boolean return value to save().

19 years agomoved addfontdir from pdf2swf.cc to SWFOutputDev.cc.
kramm [Fri, 22 Oct 2004 15:07:43 +0000 (15:07 +0000)]
moved addfontdir from pdf2swf.cc to SWFOutputDev.cc.

19 years agoadded members x1,y1,x2,y2 to swf_output.
kramm [Fri, 22 Oct 2004 15:07:37 +0000 (15:07 +0000)]
added members x1,y1,x2,y2 to swf_output.

19 years agoswf_output_save now returns a status code.
kramm [Fri, 22 Oct 2004 15:07:31 +0000 (15:07 +0000)]
swf_output_save now returns a status code.

19 years ago* changed logging interface
kramm [Fri, 22 Oct 2004 15:07:20 +0000 (15:07 +0000)]
* changed logging interface
* movex/movey are now passed in pixels instead of twips

19 years ago* swfoutput_save now returns a status code
kramm [Fri, 22 Oct 2004 15:06:55 +0000 (15:06 +0000)]
* swfoutput_save now returns a status code
* SWF struct is now a member of swfoutput.

19 years agoadded getLogLevel() function.
kramm [Fri, 22 Oct 2004 15:06:18 +0000 (15:06 +0000)]
added getLogLevel() function.

19 years agoseveral cleanups.
kramm [Fri, 22 Oct 2004 15:06:09 +0000 (15:06 +0000)]
several cleanups.

19 years agoswf_ObjectPlace(Clip) now only sets a matrix if it's not the unix matrix.
kramm [Fri, 22 Oct 2004 15:05:48 +0000 (15:05 +0000)]
swf_ObjectPlace(Clip) now only sets a matrix if it's not the unix matrix.

19 years agono changes.
kramm [Fri, 22 Oct 2004 13:53:28 +0000 (13:53 +0000)]
no changes.

19 years agofixed endless loop bug.
kramm [Thu, 21 Oct 2004 17:47:45 +0000 (17:47 +0000)]
fixed endless loop bug.

19 years ago* page info bugfixes
kramm [Thu, 21 Oct 2004 17:47:34 +0000 (17:47 +0000)]
* page info bugfixes
* added pdf_page_rendersection()

19 years ago* changed interface to pdf2swf.cc
kramm [Thu, 21 Oct 2004 17:47:23 +0000 (17:47 +0000)]
* changed interface to pdf2swf.cc
* fixed some memory leaks

19 years agofixed memory leaks.
kramm [Thu, 21 Oct 2004 17:47:13 +0000 (17:47 +0000)]
fixed memory leaks.

19 years agomoved static variables into a structure.
kramm [Thu, 21 Oct 2004 17:46:56 +0000 (17:46 +0000)]
moved static variables into a structure.

19 years agoadded pdf_page_rendersection().
kramm [Thu, 21 Oct 2004 17:46:32 +0000 (17:46 +0000)]
added pdf_page_rendersection().

19 years agoadded __cplusplus extern "C" stuff.
kramm [Thu, 21 Oct 2004 17:46:11 +0000 (17:46 +0000)]
added __cplusplus extern "C" stuff.

19 years agomade interface a little more oo-like.
kramm [Thu, 21 Oct 2004 17:45:49 +0000 (17:45 +0000)]
made interface a little more oo-like.

19 years agoremoved _setversion, _jpegquality.
kramm [Thu, 21 Oct 2004 17:45:30 +0000 (17:45 +0000)]
removed _setversion, _jpegquality.

19 years agoremoved setprotected().
kramm [Thu, 21 Oct 2004 17:44:38 +0000 (17:44 +0000)]
removed setprotected().