add support for DEFINEFONT3 (swf8) to webcat parser

experienced issue with JPEGTABLE tag (with length=0) causing abort of parsing (ioexception)
as we don't use/need it for text parsing skip this tag.
pull/41/merge
reger 9 years ago
parent bf5fca5d99
commit 9331acdb18

Binary file not shown.

@ -120,6 +120,7 @@ public class TagParser implements SWFTags, SWFConstants {
parseFontInfo(in, length);
break;
case TAG_DEFINEFONT2:
case TAG_DEFINEFONT3:
parseDefineFont2(in);
break;
case TAG_DEFINETEXTFIELD:
@ -199,7 +200,7 @@ public class TagParser implements SWFTags, SWFConstants {
parseDefineBits(in);
break;
case TAG_JPEGTABLES:
parseDefineJPEGTables(in);
//parseDefineJPEGTables(in); // TODO: content length=0 (in==null) occurs for unknown reason - find out!
break;
case TAG_DEFINEBITSJPEG3:
parseDefineBitsJPEG3(in);

Loading…
Cancel
Save