swftools.git
22 years ago* Added support for extracting frames and multiple ids.
kramm [Sun, 2 Dec 2001 11:49:53 +0000 (11:49 +0000)]
* Added support for extracting frames and multiple ids.
* Added -w (--hollow) option.
* Show list of ids if no option given.

22 years agothe real args.h is in ../lib for some time now.
kramm [Sun, 2 Dec 2001 11:46:28 +0000 (11:46 +0000)]
the real args.h is in ../lib for some time now.

22 years agonew function is_in_range.
kramm [Sun, 2 Dec 2001 11:01:56 +0000 (11:01 +0000)]
new function is_in_range.

22 years agomoved is_in_range to ../args.h.
kramm [Sun, 2 Dec 2001 10:59:34 +0000 (10:59 +0000)]
moved is_in_range to ../args.h.

22 years agomake output shorter:
kramm [Sat, 1 Dec 2001 20:08:00 +0000 (20:08 +0000)]
make output shorter:
* merge multiple showframes into one
* show placeobject actionscript only with -a

22 years ago* disassemble actionscript in placeobject2
kramm [Fri, 30 Nov 2001 15:47:04 +0000 (15:47 +0000)]
* disassemble actionscript in placeobject2
* no more overflows in button actionscript parsing

22 years agoadded buttoncxform, buttonsound, namecharacter to pseudodefines.
kramm [Fri, 30 Nov 2001 11:07:32 +0000 (11:07 +0000)]
added buttoncxform, buttonsound, namecharacter to pseudodefines.

22 years agofixed movieclip writing. (sometimes wrote too much)
kramm [Fri, 30 Nov 2001 09:30:56 +0000 (09:30 +0000)]
fixed movieclip writing. (sometimes wrote too much)

22 years ago* bugfix in text handling
kramm [Fri, 30 Nov 2001 09:30:11 +0000 (09:30 +0000)]
* bugfix in text handling
* print out pseudo define ids.

22 years agodon't report an "Didn't find object %s in file" error if --dummy option
kramm [Fri, 30 Nov 2001 09:29:30 +0000 (09:29 +0000)]
don't report an "Didn't find object %s in file" error if --dummy option
is given

22 years agonew function isPseudoDefiningTag.
kramm [Fri, 30 Nov 2001 09:28:44 +0000 (09:28 +0000)]
new function isPseudoDefiningTag.

22 years agobrought up to date.
kramm [Thu, 29 Nov 2001 19:33:32 +0000 (19:33 +0000)]
brought up to date.

22 years agoBrought up to date
kramm [Thu, 29 Nov 2001 19:24:48 +0000 (19:24 +0000)]
Brought up to date

22 years agoadded swfextract.
kramm [Thu, 29 Nov 2001 19:16:44 +0000 (19:16 +0000)]
added swfextract.

22 years agoallow ids instead of names.
kramm [Thu, 29 Nov 2001 19:15:06 +0000 (19:15 +0000)]
allow ids instead of names.

22 years ago* several bugfixes
kramm [Thu, 29 Nov 2001 18:32:44 +0000 (18:32 +0000)]
* several bugfixes
* map_ids_mem is now more generic and can be used for enumerating ids used
by a tag.

22 years agoadded function map_ids_mem().
kramm [Thu, 29 Nov 2001 18:31:43 +0000 (18:31 +0000)]
added function map_ids_mem().

22 years agoadded option -t.
kramm [Thu, 29 Nov 2001 18:31:20 +0000 (18:31 +0000)]
added option -t.

22 years agoman page for swfextract.
kramm [Thu, 29 Nov 2001 18:30:46 +0000 (18:30 +0000)]
man page for swfextract.

22 years ago* print frame number in SHOWFRAME
kramm [Thu, 29 Nov 2001 18:25:01 +0000 (18:25 +0000)]
* print frame number in SHOWFRAME
* new option, -t, prints out text in definetext tags

22 years ago* fixed gradient reading
kramm [Thu, 29 Nov 2001 18:23:55 +0000 (18:23 +0000)]
* fixed gradient reading
* readCXFORM now takes an "alpha" parameter.

22 years agoadded handling for jpegtables.
kramm [Thu, 29 Nov 2001 18:22:39 +0000 (18:22 +0000)]
added handling for jpegtables.

22 years agoadded tool "swfextract".
kramm [Thu, 29 Nov 2001 18:21:11 +0000 (18:21 +0000)]
added tool "swfextract".

22 years agospriteids and defineids are also defined in ../../src/flash.h. Changed name
kramm [Thu, 29 Nov 2001 15:58:58 +0000 (15:58 +0000)]
spriteids and defineids are also defined in ../../src/flash.h. Changed name
and made static.

22 years agonew function FontExtract_DefineTextCallback.
kramm [Thu, 29 Nov 2001 15:58:15 +0000 (15:58 +0000)]
new function FontExtract_DefineTextCallback.

22 years agoprototype for FontExtract_DefineTextCallback.
kramm [Thu, 29 Nov 2001 15:57:24 +0000 (15:57 +0000)]
prototype for FontExtract_DefineTextCallback.

22 years agoreadMATRIX() needs a preceding resetbits()
kramm [Thu, 29 Nov 2001 09:47:49 +0000 (09:47 +0000)]
readMATRIX() needs a preceding resetbits()

22 years agoadded YUV->RGB conversion.
kramm [Wed, 28 Nov 2001 22:40:25 +0000 (22:40 +0000)]
added YUV->RGB conversion.

22 years agoThe image routines don't try to insert broken images into the swf stream
kramm [Wed, 28 Nov 2001 22:28:25 +0000 (22:28 +0000)]
The image routines don't try to insert broken images into the swf stream
anymore.

22 years ago* Don't rely on jpeglib to do any conversions anymore.
kramm [Wed, 28 Nov 2001 22:23:47 +0000 (22:23 +0000)]
* Don't rely on jpeglib to do any conversions anymore.
* Implemented CMYK->RGB conversion.

22 years agoreordered the items to make the .tar.gz file compress better. Also, pass -9 option
kramm [Fri, 23 Nov 2001 18:15:39 +0000 (18:15 +0000)]
reordered the items to make the .tar.gz file compress better. Also, pass -9 option
to gzip.

22 years ago* only store fonts with valid names in substitute table.
kramm [Fri, 23 Nov 2001 16:45:53 +0000 (16:45 +0000)]
* only store fonts with valid names in substitute table.
* in updateFont, do return if we would call swfoutput_setfont with a
  negative t1id.

22 years agois now "complete" automake/autoconf Makefile.
kramm [Fri, 23 Nov 2001 16:25:17 +0000 (16:25 +0000)]
is now "complete" automake/autoconf Makefile.

22 years agoBrought up to date
kramm [Fri, 23 Nov 2001 16:24:23 +0000 (16:24 +0000)]
Brought up to date

22 years agoGenerated from configure.in
kramm [Fri, 23 Nov 2001 16:24:19 +0000 (16:24 +0000)]
Generated from configure.in

22 years agoadded ttf2pt1 files.
kramm [Fri, 23 Nov 2001 16:08:59 +0000 (16:08 +0000)]
added ttf2pt1 files.

22 years agoadded Makefile in pdf2swf/ttf2pt1.
kramm [Fri, 23 Nov 2001 16:08:46 +0000 (16:08 +0000)]
added Makefile in pdf2swf/ttf2pt1.

22 years agoadded install target
kramm [Fri, 23 Nov 2001 16:08:20 +0000 (16:08 +0000)]
added install target

22 years agoadded ttf2pt1 dependencies
kramm [Fri, 23 Nov 2001 16:00:08 +0000 (16:00 +0000)]
added ttf2pt1 dependencies

22 years agoadded support for truetype libs using ttf2pt1.
kramm [Fri, 23 Nov 2001 15:59:18 +0000 (15:59 +0000)]
added support for truetype libs using ttf2pt1.

22 years agoinitial revision
kramm [Fri, 23 Nov 2001 15:58:13 +0000 (15:58 +0000)]
initial revision

22 years agosome versions of jpeglib don't support color conversion. release-0-1-2
kramm [Wed, 21 Nov 2001 17:21:04 +0000 (17:21 +0000)]
some versions of jpeglib don't support color conversion.
in this case, the conversion is now done here.

22 years agoGenerated from configure.in
kramm [Wed, 21 Nov 2001 16:59:18 +0000 (16:59 +0000)]
Generated from configure.in

22 years agoversion is now 0.1.2.
kramm [Wed, 21 Nov 2001 16:53:06 +0000 (16:53 +0000)]
version is now 0.1.2.

22 years agoBrought up to date
kramm [Wed, 21 Nov 2001 15:56:39 +0000 (15:56 +0000)]
Brought up to date

22 years agofixed clipping bug: More than one clipping region inside a saved state
kramm [Wed, 21 Nov 2001 15:50:33 +0000 (15:50 +0000)]
fixed clipping bug: More than one clipping region inside a saved state
wasn't handled correctly

22 years agofix: grayscale jpegs weren't handled correctly
kramm [Wed, 21 Nov 2001 14:31:54 +0000 (14:31 +0000)]
fix: grayscale jpegs weren't handled correctly

22 years agocopy with too big character indicies in getCharName.
kramm [Mon, 19 Nov 2001 15:36:12 +0000 (15:36 +0000)]
copy with too big character indicies in getCharName.

22 years agocleaned up font handling.
kramm [Mon, 19 Nov 2001 15:34:58 +0000 (15:34 +0000)]
cleaned up font handling.

22 years agoFixed the masked bitmap handling. (converting the "pdfscreen" manual
kramm [Mon, 19 Nov 2001 14:49:15 +0000 (14:49 +0000)]
Fixed the masked bitmap handling. (converting the "pdfscreen" manual
works now)

22 years agoSetMatrix: Handle matrix values which are too large.
kramm [Mon, 19 Nov 2001 14:37:50 +0000 (14:37 +0000)]
SetMatrix: Handle matrix values which are too large.
(0x80000000-0xbfffffff, 0x40000000-0x7fffffff)

22 years ago* fixed pushInt()
kramm [Sun, 18 Nov 2001 13:23:38 +0000 (13:23 +0000)]
* fixed pushInt()
* added comment about property-indices

22 years agodump frame label and textfield variable names
kramm [Sun, 18 Nov 2001 13:21:44 +0000 (13:21 +0000)]
dump frame label and textfield variable names

22 years agofixjump didn't work if both arguments were identical. (used in tight loops)
kramm [Sun, 18 Nov 2001 09:25:19 +0000 (09:25 +0000)]
fixjump didn't work if both arguments were identical. (used in tight loops)

23 years agoadded escape-key action condition
kramm [Fri, 16 Nov 2001 15:28:53 +0000 (15:28 +0000)]
added escape-key action condition
(and some doc about other keyboard action conditions)

23 years agoBrought up to date
kramm [Fri, 16 Nov 2001 08:52:21 +0000 (08:52 +0000)]
Brought up to date

23 years agofull file, from automake.
kramm [Fri, 16 Nov 2001 08:52:00 +0000 (08:52 +0000)]
full file, from automake.

23 years agoprint out a "file contains links" message once.
kramm [Fri, 16 Nov 2001 08:49:59 +0000 (08:49 +0000)]
print out a "file contains links" message once.

23 years agonew example: glyphshape.c
boehme [Thu, 15 Nov 2001 21:01:53 +0000 (21:01 +0000)]
new example: glyphshape.c

23 years agoadded jump rewriting
kramm [Sun, 11 Nov 2001 18:10:26 +0000 (18:10 +0000)]
added jump rewriting

23 years agoadded jump rewriting for actionscript
kramm [Sun, 11 Nov 2001 18:10:10 +0000 (18:10 +0000)]
added jump rewriting for actionscript

23 years agofixed some targets
boehme [Sun, 11 Nov 2001 13:51:09 +0000 (13:51 +0000)]
fixed some targets

23 years agominor fixes: swf_SetBits(), cleanup shape struct, fixed dumpfont
boehme [Sun, 11 Nov 2001 13:30:05 +0000 (13:30 +0000)]
minor fixes: swf_SetBits(), cleanup shape struct, fixed dumpfont

23 years agofixed header.
kramm [Sun, 11 Nov 2001 13:17:24 +0000 (13:17 +0000)]
fixed header.

23 years agoadded lib/examples/makefonts.cc
kramm [Sat, 10 Nov 2001 18:14:42 +0000 (18:14 +0000)]
added lib/examples/makefonts.cc

23 years agobrought up to date.
kramm [Sat, 10 Nov 2001 16:34:28 +0000 (16:34 +0000)]
brought up to date.

23 years agomake makeRomanEncoding non-static
kramm [Sat, 10 Nov 2001 16:30:57 +0000 (16:30 +0000)]
make makeRomanEncoding non-static

23 years agoSWFFont now also stores the character widths
kramm [Sat, 10 Nov 2001 16:30:17 +0000 (16:30 +0000)]
SWFFont now also stores the character widths

23 years agoswf_WriteFont: double spacing in text fields, remove the useDefineFont2
kramm [Sat, 10 Nov 2001 16:28:38 +0000 (16:28 +0000)]
swf_WriteFont: double spacing in text fields, remove the useDefineFont2
parameter

23 years agoswf_WriteFont doesn't take a useDefineFont2 parameter any longer.
kramm [Sat, 10 Nov 2001 16:26:47 +0000 (16:26 +0000)]
swf_WriteFont doesn't take a useDefineFont2 parameter any longer.
(automatically decide which tag type to use)

23 years agoutility for creating the standard fonts in swf format
kramm [Sat, 10 Nov 2001 16:25:13 +0000 (16:25 +0000)]
utility for creating the standard fonts in swf format

23 years agoadded makefonts utility
kramm [Sat, 10 Nov 2001 16:24:27 +0000 (16:24 +0000)]
added makefonts utility

23 years agothe symbol and zapfdingbats encoding tables are now exportable (non-static), too.
kramm [Fri, 9 Nov 2001 09:34:53 +0000 (09:34 +0000)]
the symbol and zapfdingbats encoding tables are now exportable (non-static), too.

23 years agoSWFFont now also stores char widths. (a.k.a. advance values)
kramm [Fri, 9 Nov 2001 09:26:34 +0000 (09:26 +0000)]
SWFFont now also stores char widths. (a.k.a. advance values)

23 years agoswf_SetActions is now named swf_ActionSet.
kramm [Thu, 8 Nov 2001 21:04:10 +0000 (21:04 +0000)]
swf_SetActions is now named swf_ActionSet.

23 years agofixed a typo in swf_ActionSet
kramm [Thu, 8 Nov 2001 21:03:34 +0000 (21:03 +0000)]
fixed a typo in swf_ActionSet

23 years ago* updated function names for the actionscript module
kramm [Tue, 6 Nov 2001 20:21:28 +0000 (20:21 +0000)]
* updated function names for the actionscript module
* made html output a little more compatible

23 years agochanged actionscript-module function names
kramm [Tue, 6 Nov 2001 20:19:28 +0000 (20:19 +0000)]
changed actionscript-module function names

23 years ago* optimized a loop
kramm [Tue, 6 Nov 2001 20:18:34 +0000 (20:18 +0000)]
* optimized a loop
* ActionFree() implemented
* new function names

23 years ago* updated function names
kramm [Tue, 6 Nov 2001 20:17:48 +0000 (20:17 +0000)]
* updated function names
* ActionTag freeing implemented

23 years agoBrought up to date
kramm [Tue, 6 Nov 2001 08:49:59 +0000 (08:49 +0000)]
Brought up to date

23 years agominor fixes: new font structure in dumpfont.c, commented obsolete functions, ...
boehme [Mon, 5 Nov 2001 17:01:38 +0000 (17:01 +0000)]
minor fixes: new font structure in dumpfont.c, commented obsolete functions, ...

23 years agoBrought up to date
kramm [Mon, 5 Nov 2001 16:20:59 +0000 (16:20 +0000)]
Brought up to date

23 years agoadded dumping of actionscript in buttons
kramm [Mon, 5 Nov 2001 16:20:38 +0000 (16:20 +0000)]
added dumping of actionscript in buttons

23 years agoBrought up to date
kramm [Mon, 5 Nov 2001 15:34:24 +0000 (15:34 +0000)]
Brought up to date

23 years agoadded memset
kramm [Mon, 5 Nov 2001 15:31:41 +0000 (15:31 +0000)]
added memset

23 years agofixed some bugs in extractdefinefont2
kramm [Mon, 5 Nov 2001 15:30:31 +0000 (15:30 +0000)]
fixed some bugs in extractdefinefont2

23 years ago* enumerate also definefont2 tags
kramm [Mon, 5 Nov 2001 15:05:57 +0000 (15:05 +0000)]
* enumerate also definefont2 tags
* fixed ascii/glyph advance value bug

23 years agogenerate code for new SWFFONT struct.
kramm [Mon, 5 Nov 2001 14:35:00 +0000 (14:35 +0000)]
generate code for new SWFFONT struct.

23 years agochanged to new SWFFONT struct.
kramm [Mon, 5 Nov 2001 14:30:08 +0000 (14:30 +0000)]
changed to new SWFFONT struct.

23 years agochanged gid to ascii2glyph and codes to glyph2ascii
kramm [Mon, 5 Nov 2001 14:22:07 +0000 (14:22 +0000)]
changed gid to ascii2glyph and codes to glyph2ascii

23 years agochanged codes and gid in SWFFONT to glyph2ascii and ascii2glyph.
kramm [Mon, 5 Nov 2001 13:59:28 +0000 (13:59 +0000)]
changed codes and gid in SWFFONT to glyph2ascii and ascii2glyph.

23 years agouse new SWFFONT struct
kramm [Mon, 5 Nov 2001 12:49:46 +0000 (12:49 +0000)]
use new SWFFONT struct

23 years agoadded routine for dumping fonts.
kramm [Mon, 5 Nov 2001 12:49:19 +0000 (12:49 +0000)]
added routine for dumping fonts.

23 years ago* implemented definefont2 parsing
kramm [Mon, 5 Nov 2001 12:48:59 +0000 (12:48 +0000)]
* implemented definefont2 parsing
* changed everything to work with the new SWFFONT struct

23 years agothe SWFFONT structure consists of pointers (was: arrays) now.
kramm [Mon, 5 Nov 2001 12:48:12 +0000 (12:48 +0000)]
the SWFFONT structure consists of pointers (was: arrays) now.

23 years agonew font struct
kramm [Mon, 5 Nov 2001 12:06:15 +0000 (12:06 +0000)]
new font struct

23 years agoadded tag types {EXPORT, IMPORT}ASSETS, ENABLEDEBUGGER
kramm [Mon, 5 Nov 2001 08:43:58 +0000 (08:43 +0000)]
added tag types {EXPORT, IMPORT}ASSETS, ENABLEDEBUGGER

23 years agobrought up to Date.
kramm [Sun, 4 Nov 2001 22:22:37 +0000 (22:22 +0000)]
brought up to Date.

23 years agoadded optional storing of full font sets in the .swf. (option -f)
kramm [Sun, 4 Nov 2001 22:21:13 +0000 (22:21 +0000)]
added optional storing of full font sets in the .swf. (option -f)