swftools.git
18 years agogcc on Mac OS X claims -fno-rtti shouldn't be used when compiling C
dseg [Wed, 11 May 2005 03:00:32 +0000 (03:00 +0000)]
gcc on Mac OS X claims -fno-rtti shouldn't be used when compiling C
sources over and over again so removed it.

18 years agobrought up to date
kramm [Sun, 8 May 2005 13:49:57 +0000 (13:49 +0000)]
brought up to date

18 years agoadded more gfxdevice-like prototypes
kramm [Sun, 8 May 2005 13:49:25 +0000 (13:49 +0000)]
added more gfxdevice-like prototypes

18 years agoadded gfx font loading
kramm [Sun, 8 May 2005 13:48:32 +0000 (13:48 +0000)]
added gfx font loading

18 years ago* moved non-gfxdevice specific font handling to SWFOutputDev.cc
kramm [Sun, 8 May 2005 13:48:03 +0000 (13:48 +0000)]
* moved non-gfxdevice specific font handling to SWFOutputDev.cc
* added font reduction

18 years agoadded gfxline_transform(), gfxline_clone(), gfxmatrix_dump()
kramm [Sun, 8 May 2005 13:47:12 +0000 (13:47 +0000)]
added gfxline_transform(), gfxline_clone(), gfxmatrix_dump()

18 years agoseveral fixes
kramm [Sun, 8 May 2005 13:46:46 +0000 (13:46 +0000)]
several fixes

18 years agomoved matrix from addfont to drawchar
kramm [Sun, 8 May 2005 13:46:21 +0000 (13:46 +0000)]
moved matrix from addfont to drawchar

18 years agoadded a temporary swf_FontReduce() solution
kramm [Sun, 8 May 2005 13:45:57 +0000 (13:45 +0000)]
added a temporary swf_FontReduce() solution

18 years ago* Fixed bugs about transparent color.
dseg [Fri, 6 May 2005 16:34:59 +0000 (16:34 +0000)]
* Fixed bugs about transparent color.
  (Reported by Will Prater.
   http://lists.gnu.org/archive/html/swftools-common/2005-04/msg00036.html)
  Formerly getTransparentColor() returns 255 when something wrong happened,
  it's wrong. now returns 0.
* Fixed a bug in getGifDisposalMethod().
* If no -l (or --loop) option was given, loop indefinitely

18 years agoadded ../lib/gfxfont.o dependency
kramm [Sun, 1 May 2005 15:48:25 +0000 (15:48 +0000)]
added ../lib/gfxfont.o dependency

18 years agofixed gfxfont_free() prototype
kramm [Sun, 1 May 2005 15:48:03 +0000 (15:48 +0000)]
fixed gfxfont_free() prototype

18 years agonew function gfxline_append()
kramm [Sun, 1 May 2005 15:47:17 +0000 (15:47 +0000)]
new function gfxline_append()

18 years agofixed some mem leaks, added gfxfont_free()
kramm [Sun, 1 May 2005 15:46:55 +0000 (15:46 +0000)]
fixed some mem leaks, added gfxfont_free()

18 years agogcc 2.95.x fixes
kramm [Sun, 1 May 2005 15:46:05 +0000 (15:46 +0000)]
gcc 2.95.x fixes

18 years agonew parameter "bboxvars".
kramm [Sun, 1 May 2005 10:22:31 +0000 (10:22 +0000)]
new parameter "bboxvars".

18 years agoadded (commented out) rules for swfedit.
kramm [Sat, 30 Apr 2005 12:57:43 +0000 (12:57 +0000)]
added (commented out) rules for swfedit.

18 years agotype 0 fonts are now enabled by default
kramm [Sat, 30 Apr 2005 12:57:20 +0000 (12:57 +0000)]
type 0 fonts are now enabled by default

18 years agoadded pdf2swf.dll target
kramm [Sat, 30 Apr 2005 12:53:42 +0000 (12:53 +0000)]
added pdf2swf.dll target

18 years agoif there's an ID overflow, output a blank page.
kramm [Sat, 30 Apr 2005 12:53:20 +0000 (12:53 +0000)]
if there's an ID overflow, output a blank page.

18 years ago* re-inserted font deletion
kramm [Sat, 30 Apr 2005 12:52:57 +0000 (12:52 +0000)]
* re-inserted font deletion
* make sure we only log printable characters

18 years agoadded new files
kramm [Sat, 30 Apr 2005 12:38:02 +0000 (12:38 +0000)]
added new files

18 years agodisplay clipped/tiled flag for bitmap fill
kramm [Sat, 30 Apr 2005 12:37:41 +0000 (12:37 +0000)]
display clipped/tiled flag for bitmap fill

18 years agonew options -x,-y,-e,-f
kramm [Sat, 30 Apr 2005 12:37:19 +0000 (12:37 +0000)]
new options -x,-y,-e,-f

18 years agoadded gfxfont.o target
kramm [Sat, 30 Apr 2005 12:37:01 +0000 (12:37 +0000)]
added gfxfont.o target

18 years agonew function gfxdraw_conicTo()
kramm [Sat, 30 Apr 2005 12:36:19 +0000 (12:36 +0000)]
new function gfxdraw_conicTo()

18 years agoinitial revision
kramm [Sat, 30 Apr 2005 12:35:18 +0000 (12:35 +0000)]
initial revision

18 years agoif there was an ID or depth overflow, wipe everything.
kramm [Fri, 29 Apr 2005 08:48:41 +0000 (08:48 +0000)]
if there was an ID or depth overflow, wipe everything.

18 years agoadded stub for image cache
kramm [Fri, 29 Apr 2005 08:48:25 +0000 (08:48 +0000)]
added stub for image cache

18 years ago* fixed a mem leak
kramm [Fri, 29 Apr 2005 08:48:09 +0000 (08:48 +0000)]
* fixed a mem leak
* fixed config_opennewwindow option

18 years agofixed a mem leak
kramm [Fri, 29 Apr 2005 08:47:44 +0000 (08:47 +0000)]
fixed a mem leak

18 years agofixed a few mem leaks
kramm [Fri, 29 Apr 2005 08:47:25 +0000 (08:47 +0000)]
fixed a few mem leaks

18 years agofixed -w option
kramm [Fri, 29 Apr 2005 08:46:58 +0000 (08:46 +0000)]
fixed -w option

18 years agofixed duplicate ST_REFLEX handling
kramm [Fri, 29 Apr 2005 08:46:33 +0000 (08:46 +0000)]
fixed duplicate ST_REFLEX handling

18 years agofixed bounding box bug
kramm [Fri, 29 Apr 2005 08:46:10 +0000 (08:46 +0000)]
fixed bounding box bug
fixed floating point rounding bug

18 years agofixed a bug occuring when shapes are entirely outside of the viewport
kramm [Fri, 29 Apr 2005 08:45:50 +0000 (08:45 +0000)]
fixed a bug occuring when shapes are entirely outside of the viewport

18 years agofixed un-premultiply routines
kramm [Fri, 29 Apr 2005 08:45:30 +0000 (08:45 +0000)]
fixed un-premultiply routines

19 years ago* Read the "frame delay time" defined in (animated) GIF header.
dseg [Sun, 17 Apr 2005 17:35:07 +0000 (17:35 +0000)]
* Read the "frame delay time" defined in (animated) GIF header.
* new '-l' (or --loop) option to specify the SWF loop count

19 years agofixed quality setting for cubic spline conversion.
kramm [Thu, 7 Apr 2005 09:08:51 +0000 (09:08 +0000)]
fixed quality setting for cubic spline conversion.

19 years agoadded workaround for text clipping (text render = 7)
kramm [Thu, 7 Apr 2005 09:02:38 +0000 (09:02 +0000)]
added workaround for text clipping (text render = 7)

19 years agoadded log message "swf written"
kramm [Thu, 7 Apr 2005 09:02:16 +0000 (09:02 +0000)]
added log message "swf written"

19 years agoadded png.o to targets
kramm [Thu, 7 Apr 2005 09:01:51 +0000 (09:01 +0000)]
added png.o to targets

19 years agoadded an implementation for image mode 4.
kramm [Thu, 7 Apr 2005 09:01:31 +0000 (09:01 +0000)]
added an implementation for image mode 4.

19 years agoinitial revision
kramm [Thu, 7 Apr 2005 09:00:38 +0000 (09:00 +0000)]
initial revision

19 years agoadded definejpeg3 extraction support
kramm [Thu, 7 Apr 2005 08:59:59 +0000 (08:59 +0000)]
added definejpeg3 extraction support

19 years agoadded pre-multiplying / un-premultiplying stuff.
kramm [Thu, 7 Apr 2005 08:59:43 +0000 (08:59 +0000)]
added pre-multiplying / un-premultiplying stuff.

19 years agofixed memory holes.
kramm [Thu, 7 Apr 2005 08:59:24 +0000 (08:59 +0000)]
fixed memory holes.

19 years agofixed framerate/sound synchronization (account for 8.8 rounding error)
kramm [Thu, 7 Apr 2005 08:59:03 +0000 (08:59 +0000)]
fixed framerate/sound synchronization (account for 8.8 rounding error)

19 years agoPatch from Moriyoshi Koizumi:
kramm [Sun, 3 Apr 2005 11:06:21 +0000 (11:06 +0000)]
Patch from Moriyoshi Koizumi:

1. making the resulting swf file importable as a runtime shared asset.

  Running with -e <name> creates a movie containing one sprite
  whose contents would all be put in the root if without -e.

  The result will show up in the same way as that with no option.

2. fitting images to the document's bounding box.

  Running with the -f option makes the images to the document's bounding
  box, while they are centered with their original size by default.

3. offseting images by arbitrary distance.

  -x (--xoffset) and -y (--yoffset) options determine the offsets of the
  produced images. For example, offsetting an image by -320px means
  moving the registration point 320px right of the image's left border
  on the screen.

19 years agofixed swf_FontEnumerate() prototype
kramm [Sun, 3 Apr 2005 11:05:59 +0000 (11:05 +0000)]
fixed swf_FontEnumerate() prototype

19 years agofixed jpegtable merging
kramm [Sun, 3 Apr 2005 11:05:36 +0000 (11:05 +0000)]
fixed jpegtable merging

19 years agofixed swf_FontEnumerate()
kramm [Sun, 3 Apr 2005 11:05:09 +0000 (11:05 +0000)]
fixed swf_FontEnumerate()

19 years ago* some clipping optimizations
kramm [Sun, 3 Apr 2005 11:04:46 +0000 (11:04 +0000)]
* some clipping optimizations
* z-buffer related fixes

19 years agostarted implementation of a z-buffer.
kramm [Sun, 3 Apr 2005 11:04:28 +0000 (11:04 +0000)]
started implementation of a z-buffer.

19 years agofixed anchor parsing
kramm [Fri, 1 Apr 2005 08:00:24 +0000 (08:00 +0000)]
fixed anchor parsing

19 years agonamed tags are now anchors by default.
kramm [Fri, 1 Apr 2005 07:59:58 +0000 (07:59 +0000)]
named tags are now anchors by default.

19 years ago* changed swf_fillgradient() prototype.
kramm [Fri, 1 Apr 2005 07:59:32 +0000 (07:59 +0000)]
* changed swf_fillgradient() prototype.
* image downscaling now dumps a <notice>

19 years agoadded some more info to the "out of memory" messages.
kramm [Fri, 1 Apr 2005 07:59:03 +0000 (07:59 +0000)]
added some more info to the "out of memory" messages.

19 years ago* optimized moveTo
kramm [Fri, 1 Apr 2005 07:58:39 +0000 (07:58 +0000)]
* optimized moveTo
* added prefix to gfxline_dump()

19 years agofixed swf_FontEnumerate() prototype
kramm [Fri, 1 Apr 2005 07:58:14 +0000 (07:58 +0000)]
fixed swf_FontEnumerate() prototype

19 years agolog files are now dos format
kramm [Fri, 1 Apr 2005 07:57:51 +0000 (07:57 +0000)]
log files are now dos format

19 years agoadded prefix to gfxline_dump()
kramm [Fri, 1 Apr 2005 07:54:22 +0000 (07:54 +0000)]
added prefix to gfxline_dump()

19 years agosome interface changes
kramm [Fri, 1 Apr 2005 07:51:26 +0000 (07:51 +0000)]
some interface changes

19 years agoadded swf_ImageGetNumberOfPaletteEntries2() function
kramm [Fri, 1 Apr 2005 07:50:56 +0000 (07:50 +0000)]
added swf_ImageGetNumberOfPaletteEntries2() function

19 years agofixed swf_FontEnumerate() prototype
kramm [Fri, 1 Apr 2005 07:50:29 +0000 (07:50 +0000)]
fixed swf_FontEnumerate() prototype

19 years agofixed compile-time problem
kramm [Fri, 1 Apr 2005 07:50:02 +0000 (07:50 +0000)]
fixed compile-time problem

19 years agoadded swf_GetSWFBackgroundColor() and swf_RenderSWF() functions
kramm [Sun, 27 Mar 2005 21:01:53 +0000 (21:01 +0000)]
added swf_GetSWFBackgroundColor() and swf_RenderSWF() functions

19 years agonew function swf_GetSWFBackgroundColor()
kramm [Sun, 27 Mar 2005 21:01:28 +0000 (21:01 +0000)]
new function swf_GetSWFBackgroundColor()

19 years ago* some bugfixes
kramm [Sun, 27 Mar 2005 21:01:06 +0000 (21:01 +0000)]
* some bugfixes
* added swf_RenderSWF() function

19 years agoswf_Shape2Free() now set's all free'd pointers to 0
kramm [Sun, 27 Mar 2005 21:00:44 +0000 (21:00 +0000)]
swf_Shape2Free() now set's all free'd pointers to 0

19 years agofixed a bug in swf_ExtractImage() for 8-bit palette lossless images
kramm [Sun, 27 Mar 2005 21:00:18 +0000 (21:00 +0000)]
fixed a bug in swf_ExtractImage() for 8-bit palette lossless images

19 years agofonts are exported now, too
kramm [Fri, 25 Mar 2005 10:58:17 +0000 (10:58 +0000)]
fonts are exported now, too

19 years agooptimized depth and character id handling. less depths are now used.
kramm [Fri, 25 Mar 2005 10:57:27 +0000 (10:57 +0000)]
optimized depth and character id handling. less depths are now used.

19 years agooptimized memory usage.
kramm [Fri, 25 Mar 2005 10:56:40 +0000 (10:56 +0000)]
optimized memory usage.

19 years agoadded some optimizations
kramm [Fri, 25 Mar 2005 10:56:24 +0000 (10:56 +0000)]
added some optimizations

19 years agogcc 2.95.x fixes
kramm [Fri, 25 Mar 2005 10:56:00 +0000 (10:56 +0000)]
gcc 2.95.x fixes

19 years agocommented out swf_ParseShapeData()
kramm [Mon, 7 Mar 2005 20:09:01 +0000 (20:09 +0000)]
commented out swf_ParseShapeData()

19 years agomade enumerateUsedIDs_styles() global.
kramm [Mon, 7 Mar 2005 20:08:36 +0000 (20:08 +0000)]
made enumerateUsedIDs_styles() global.

19 years agoadded support for additional fill styles.
kramm [Mon, 7 Mar 2005 20:08:08 +0000 (20:08 +0000)]
added support for additional fill styles.

19 years agoBrought up to date
kramm [Sun, 6 Mar 2005 20:28:45 +0000 (20:28 +0000)]
Brought up to date

19 years agoGenerated from configure.in
kramm [Sun, 6 Mar 2005 20:28:02 +0000 (20:28 +0000)]
Generated from configure.in

19 years agoremoved framerate>0 restriction in order to make Flash Communication Server
kramm [Sun, 6 Mar 2005 20:27:13 +0000 (20:27 +0000)]
removed framerate>0 restriction in order to make Flash Communication Server
compatible SWFs.

19 years agofixed sound truncation bug
kramm [Sun, 6 Mar 2005 20:26:42 +0000 (20:26 +0000)]
fixed sound truncation bug

19 years agoadded some comments
kramm [Sun, 6 Mar 2005 20:25:13 +0000 (20:25 +0000)]
added some comments

19 years agofixed Type0C handling.
kramm [Sun, 6 Mar 2005 20:20:27 +0000 (20:20 +0000)]
fixed Type0C handling.

19 years agofixed compiler warning
kramm [Sun, 6 Mar 2005 20:19:27 +0000 (20:19 +0000)]
fixed compiler warning

19 years agomade a log message more precise
kramm [Sun, 6 Mar 2005 20:18:54 +0000 (20:18 +0000)]
made a log message more precise

19 years ago* optimized swf_GetNumberOfPaletteEntries()
kramm [Sun, 6 Mar 2005 20:18:31 +0000 (20:18 +0000)]
* optimized swf_GetNumberOfPaletteEntries()
* fixed bug in swf_RemoveJPEGTables()

19 years agoadded a small optimization to swf_ImageGetNumberOfPaletteEntries().
kramm [Sun, 6 Mar 2005 20:18:13 +0000 (20:18 +0000)]
added a small optimization to swf_ImageGetNumberOfPaletteEntries().

19 years agofixed a bug where a non-loadable character shifts all other characters
kramm [Sun, 6 Mar 2005 20:17:51 +0000 (20:17 +0000)]
fixed a bug where a non-loadable character shifts all other characters
to incorrect encoding positions.

19 years agoBrought up to date
kramm [Sun, 27 Feb 2005 14:52:58 +0000 (14:52 +0000)]
Brought up to date

19 years agoGenerated from configure.in
kramm [Sun, 27 Feb 2005 14:48:54 +0000 (14:48 +0000)]
Generated from configure.in

19 years agofixed type 3 stroke/fill color problem.
kramm [Sun, 27 Feb 2005 14:46:07 +0000 (14:46 +0000)]
fixed type 3 stroke/fill color problem.

19 years agomade moveto take double as argument
kramm [Sun, 27 Feb 2005 14:45:40 +0000 (14:45 +0000)]
made moveto take double as argument

19 years agosome parser fixes.
kramm [Sun, 27 Feb 2005 14:45:12 +0000 (14:45 +0000)]
some parser fixes.

19 years agoadd a small value (0.0001) to the float parameters, so that
kramm [Sun, 27 Feb 2005 14:44:46 +0000 (14:44 +0000)]
add a small value (0.0001) to the float parameters, so that
e.g. 0.49999 isn't converted to 0.4.

19 years agoadded comments about maskcolors
kramm [Sun, 27 Feb 2005 07:36:27 +0000 (07:36 +0000)]
added comments about maskcolors

19 years agoimages are now stored in either jpeg or zlib, whatever is smaller.
kramm [Sun, 27 Feb 2005 07:35:24 +0000 (07:35 +0000)]
images are now stored in either jpeg or zlib, whatever is smaller.

19 years agoadded function swf_AddImage().
kramm [Sun, 27 Feb 2005 07:33:57 +0000 (07:33 +0000)]
added function swf_AddImage().

19 years agoadded dependency on ../lib/art/libart.a
kramm [Sat, 26 Feb 2005 19:34:13 +0000 (19:34 +0000)]
added dependency on ../lib/art/libart.a