X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfdump.c;h=ee6f71376438c0d952fcdb8598710a6ee5a28e3b;hb=aee9de2c6eb23628e54b6896f5b441d9b39317c1;hp=ffed0f99868689b16c88eb5af84187df638de9d4;hpb=97bcfc9c0f3ae2e2b52700090d6816d2326fdbf2;p=swftools.git diff --git a/lib/modules/swfdump.c b/lib/modules/swfdump.c index ffed0f9..ee6f713 100644 --- a/lib/modules/swfdump.c +++ b/lib/modules/swfdump.c @@ -7,9 +7,19 @@ Copyright (c) 2001 Rainer Böhme - This file is distributed under the GPL, see file COPYING for details + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -*/ + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ void swf_DumpHeader(FILE * f,SWF * swf) { if (!f) f = stderr; @@ -43,6 +53,7 @@ void swf_DumpFont(SWFFONT * font) printf("Version: %d\n", font->version); printf("name: %s\n", font->name); printf("characters: %d\n", font->numchars); + printf("biggest mapped ascii value: %d\n", font->maxascii); printf("layout: %s\n", font->layout?"yes":"no"); if(font->layout) { @@ -53,6 +64,9 @@ void swf_DumpFont(SWFFONT * font) printf(" kerning records:%d\n", font->layout->kerningcount); printf(" kerning records: (not shown)\n"); } + printf("style: %d\n", font->style); + printf("encoding: %d\n", font->encoding); + printf("language: %d\n", font->language); } char* swf_TagGetName(TAG*tag) @@ -153,6 +167,20 @@ char* swf_TagGetName(TAG*tag) return "ENABLEDEBUGGER"; case ST_REFLEX: return "REFLEX"; + case ST_DOINITACTION: + return "DOINITACTION"; + case ST_DEFINEMOVIE: + return "DEFINEMOVIE"; + case ST_DEFINEVIDEOSTREAM: + return "DEFINEVIDEOSTREAM"; + case ST_VIDEOFRAME: + return "VIDEOFRAME"; + case ST_DEFINEFONTINFO2: + return "DEFINEFONTINFO2"; + case ST_FREEALL: + return "FREEALL"; + case ST_MX4: + return "MX4"; } return 0; }