git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
font colour changes
[swftools.git]
/
lib
/
modules
/
swfdump.c
diff --git
a/lib/modules/swfdump.c
b/lib/modules/swfdump.c
index
b07b021
..
ebac1a3
100644
(file)
--- a/
lib/modules/swfdump.c
+++ b/
lib/modules/swfdump.c
@@
-43,6
+43,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("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)
{
printf("layout: %s\n", font->layout?"yes":"no");
if(font->layout)
{
@@
-53,6
+54,9
@@
void swf_DumpFont(SWFFONT * font)
printf(" kerning records:%d\n", font->layout->kerningcount);
printf(" kerning records: (not shown)\n");
}
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)
}
char* swf_TagGetName(TAG*tag)
@@
-153,14
+157,16
@@
char* swf_TagGetName(TAG*tag)
return "ENABLEDEBUGGER";
case ST_REFLEX:
return "REFLEX";
return "ENABLEDEBUGGER";
case ST_REFLEX:
return "REFLEX";
- case ST_MX0:
- return "MX0";
- case ST_MX1:
- return "MX1";
- case ST_MX2:
- return "MX2";
- case ST_MX3:
- return "MX3";
+ case ST_DOINITACTION:
+ return "DOINITACTION";
+ 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";
}
case ST_MX4:
return "MX4";
}