swftools.git
19 years agofixed a bug in the text bounding box calculation.
kramm [Sun, 19 Jun 2005 10:57:11 +0000 (10:57 +0000)]
fixed a bug in the text bounding box calculation.

19 years agofixed default behaviour
kramm [Sun, 19 Jun 2005 10:56:58 +0000 (10:56 +0000)]
fixed default behaviour

19 years agofixed circle drawing
kramm [Sun, 19 Jun 2005 10:56:40 +0000 (10:56 +0000)]
fixed circle drawing

19 years agostartpage() now only takes width/height
kramm [Sun, 19 Jun 2005 10:56:16 +0000 (10:56 +0000)]
startpage() now only takes width/height

19 years agofixed memory deallocing
kramm [Sun, 19 Jun 2005 10:55:57 +0000 (10:55 +0000)]
fixed memory deallocing

19 years agofixed parameter setting
kramm [Fri, 17 Jun 2005 14:54:54 +0000 (14:54 +0000)]
fixed parameter setting

19 years agoadded \u notation.
kramm [Tue, 14 Jun 2005 14:53:37 +0000 (14:53 +0000)]
added \u notation.

19 years agofixed a mem leak
kramm [Sat, 4 Jun 2005 07:10:40 +0000 (07:10 +0000)]
fixed a mem leak

19 years agoremoved duplicate entry of swf_Shape2ToShape()
kramm [Sat, 4 Jun 2005 07:10:15 +0000 (07:10 +0000)]
removed duplicate entry of swf_Shape2ToShape()

19 years agofixed some memory allocation issues
kramm [Thu, 2 Jun 2005 18:22:36 +0000 (18:22 +0000)]
fixed some memory allocation issues

19 years agoimplemented new version of finish()
kramm [Thu, 2 Jun 2005 17:06:41 +0000 (17:06 +0000)]
implemented new version of finish()

19 years agoswf_output_save() now returns a negative value on failure
kramm [Thu, 2 Jun 2005 17:06:20 +0000 (17:06 +0000)]
swf_output_save() now returns a negative value on failure

19 years agofinish() now returns an gfxresult
kramm [Thu, 2 Jun 2005 17:06:00 +0000 (17:06 +0000)]
finish() now returns an gfxresult

19 years agofixed morphshape syntax
kramm [Thu, 2 Jun 2005 17:05:42 +0000 (17:05 +0000)]
fixed morphshape syntax

19 years agoOutputed swf was corrupt on Windows
dseg [Thu, 2 Jun 2005 04:57:06 +0000 (04:57 +0000)]
Outputed swf was corrupt on Windows

19 years agoCompilation fixes
dseg [Thu, 2 Jun 2005 01:27:35 +0000 (01:27 +0000)]
Compilation fixes

19 years agoCouldn't compile since rfxswf.h R1.112. fixed.
dseg [Thu, 2 Jun 2005 01:11:33 +0000 (01:11 +0000)]
Couldn't compile since rfxswf.h R1.112. fixed.

19 years agotook some further steps in implementing gfxdevice.
kramm [Sat, 28 May 2005 18:48:39 +0000 (18:48 +0000)]
took some further steps in implementing gfxdevice.

19 years agofixed alpha color values in swf_ExtractText()
kramm [Sat, 28 May 2005 18:48:17 +0000 (18:48 +0000)]
fixed alpha color values in swf_ExtractText()

19 years agoadded text rendering
kramm [Sat, 28 May 2005 18:47:55 +0000 (18:47 +0000)]
added text rendering

19 years agowhen dumping shapes, dump used fill-/linestyles, too
kramm [Sat, 28 May 2005 18:47:35 +0000 (18:47 +0000)]
when dumping shapes, dump used fill-/linestyles, too

19 years agofix for GCC 4.0
dseg [Mon, 23 May 2005 14:22:45 +0000 (14:22 +0000)]
fix for GCC 4.0

19 years agofixed rounding of text bboxes.
kramm [Sun, 22 May 2005 11:21:15 +0000 (11:21 +0000)]
fixed rounding of text bboxes.

19 years agofixed font bounding box generation.
kramm [Sun, 22 May 2005 11:20:58 +0000 (11:20 +0000)]
fixed font bounding box generation.

19 years agoas a special case, when using only --dummy and --scale, also modify the
kramm [Sat, 21 May 2005 17:02:18 +0000 (17:02 +0000)]
as a special case, when using only --dummy and --scale, also modify the
bounding box to reflect the new size.

19 years agooptimized spline approximation
kramm [Sat, 21 May 2005 17:01:58 +0000 (17:01 +0000)]
optimized spline approximation

19 years agofixed integral error calculation
kramm [Sat, 21 May 2005 17:01:39 +0000 (17:01 +0000)]
fixed integral error calculation

19 years agofixed character reading: take offset table into account.
kramm [Sat, 21 May 2005 17:01:19 +0000 (17:01 +0000)]
fixed character reading: take offset table into account.

19 years agoswfc now also depends on ../lib/png.o
kramm [Sat, 21 May 2005 12:34:09 +0000 (12:34 +0000)]
swfc now also depends on ../lib/png.o

19 years agoadded drawlink strub
kramm [Sat, 21 May 2005 12:33:49 +0000 (12:33 +0000)]
added drawlink strub

19 years agofixed drawlink prototype
kramm [Sat, 21 May 2005 12:33:26 +0000 (12:33 +0000)]
fixed drawlink prototype

19 years agoGenerated from configure.in
kramm [Mon, 16 May 2005 18:44:56 +0000 (18:44 +0000)]
Generated from configure.in

19 years agoswfc now requires ../lib/png.o
kramm [Mon, 16 May 2005 12:32:10 +0000 (12:32 +0000)]
swfc now requires ../lib/png.o

19 years agoadded png support.
kramm [Mon, 16 May 2005 12:31:40 +0000 (12:31 +0000)]
added png support.

19 years agozoom is now a double
kramm [Mon, 16 May 2005 12:31:10 +0000 (12:31 +0000)]
zoom is now a double

19 years agofixed dll target linker invokation
kramm [Mon, 16 May 2005 11:43:30 +0000 (11:43 +0000)]
fixed dll target linker invokation

19 years agofixed several font-stroke related bugs
kramm [Mon, 16 May 2005 11:43:06 +0000 (11:43 +0000)]
fixed several font-stroke related bugs

19 years ago* When "Restore to BGCOLOR" method was defined in animated GIF,
dseg [Wed, 11 May 2005 17:20:29 +0000 (17:20 +0000)]
* When "Restore to BGCOLOR" method was defined in animated GIF,
  converted SWF become broken. Fixed.
* Loop count of animated GIF now correctly get from the GIF header.

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

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

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

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

19 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

19 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()

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

19 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

19 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

19 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

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

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

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

19 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()

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

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

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

19 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

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

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

19 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

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

19 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

19 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

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

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

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

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

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

19 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

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

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

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

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

19 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

19 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

19 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()