swftools.git
20 years agoadded math.h include.
kramm [Fri, 12 Nov 2004 18:29:08 +0000 (18:29 +0000)]
added math.h include.

20 years agoinitial revision.
kramm [Fri, 12 Nov 2004 18:28:56 +0000 (18:28 +0000)]
initial revision.

20 years agowhen extracting a single object with -i, scale it so it has a standard
kramm [Fri, 12 Nov 2004 18:17:32 +0000 (18:17 +0000)]
when extracting a single object with -i, scale it so it has a standard
size.

20 years agoadded MacOSX section.
kramm [Fri, 12 Nov 2004 12:51:54 +0000 (12:51 +0000)]
added MacOSX section.

20 years agofixed -f.
kramm [Fri, 12 Nov 2004 12:38:40 +0000 (12:38 +0000)]
fixed -f.

20 years agofixed big-endian handling in .sound.
kramm [Thu, 11 Nov 2004 21:12:17 +0000 (21:12 +0000)]
fixed big-endian handling in .sound.

20 years ago* subtract 1 pixel from line width
kramm [Thu, 11 Nov 2004 16:40:21 +0000 (16:40 +0000)]
* subtract 1 pixel from line width
* fixed twip parsing

20 years agomoved swf_RecodeShapeData to ../lib/modules/swfshape.c
kramm [Thu, 11 Nov 2004 16:40:14 +0000 (16:40 +0000)]
moved swf_RecodeShapeData to ../lib/modules/swfshape.c

20 years agoadded support for non-filled outlines.
kramm [Thu, 11 Nov 2004 16:40:07 +0000 (16:40 +0000)]
added support for non-filled outlines.

20 years agofixed shape display formatting.
kramm [Thu, 11 Nov 2004 16:39:56 +0000 (16:39 +0000)]
fixed shape display formatting.

20 years agoadded "scale" attribute to swf_Render_Init().
kramm [Thu, 11 Nov 2004 16:39:43 +0000 (16:39 +0000)]
added "scale" attribute to swf_Render_Init().

20 years agonew function swf_RecodeShapeData().
kramm [Thu, 11 Nov 2004 16:39:24 +0000 (16:39 +0000)]
new function swf_RecodeShapeData().

20 years agoadded items.
kramm [Thu, 11 Nov 2004 09:34:47 +0000 (09:34 +0000)]
added items.

20 years agoAdded --enable-profiling option.
kramm [Thu, 11 Nov 2004 09:34:34 +0000 (09:34 +0000)]
Added --enable-profiling option.

20 years agoadded big endian handling
kramm [Thu, 11 Nov 2004 09:34:22 +0000 (09:34 +0000)]
added big endian handling

20 years agoadded dummy MEMORY_INFO block.
kramm [Thu, 11 Nov 2004 09:34:08 +0000 (09:34 +0000)]
added dummy MEMORY_INFO block.

20 years agoadded antialiase option to swf_Render_Init().
kramm [Thu, 11 Nov 2004 09:33:53 +0000 (09:33 +0000)]
added antialiase option to swf_Render_Init().

20 years agoadded dummy xpos to swf_TextCalculateBBoxUTF8().
kramm [Thu, 11 Nov 2004 09:33:38 +0000 (09:33 +0000)]
added dummy xpos to swf_TextCalculateBBoxUTF8().

20 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.

20 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().

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

20 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.

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

20 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.

20 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.

20 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).

20 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.

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

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

20 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.

20 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

20 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.

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

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

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

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

20 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.

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

20 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().

20 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.

20 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.

20 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.

20 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.

20 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

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

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

20 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.

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

20 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

20 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

20 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.

20 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

20 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().

20 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().

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

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

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

20 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.

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

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

20 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.

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

20 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.

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

20 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.

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

20 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.

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

20 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.

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

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

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

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

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

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

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

20 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.

20 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.

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

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

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

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

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

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

20 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.

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

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

20 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.

20 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.

20 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.

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

20 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().

20 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.

20 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.

20 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.

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

20 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().

20 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.

20 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().

20 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.