+ else if(tag->id == ST_CSMTEXTSETTINGS) {
+ U16 id = swf_GetU16(tag);
+ U8 flags = swf_GetU8(tag);
+ printf(" (");
+ if(flags&0x40) {
+ printf("flashtype,");
+ }
+ switch(((flags>>3)&7)) {
+ case 0:printf("no grid,");break;
+ case 1:printf("pixel grid,");break;
+ case 2:printf("subpixel grid,");break;
+ case 3:printf("unknown grid,");break;
+ }
+ if(flags&0x87)
+ printf("unknown[%08x],", flags);
+ float thickness = swf_GetFixed(tag);
+ float sharpness = swf_GetFixed(tag);
+ printf("s=%.2f,t=%.2f)\n", thickness, sharpness);
+ swf_GetU8(tag);
+ }