-
- t = swf_InsertTag(t,ST_DEFINEFONT);
-
- swf_FontSetDefine(t,font);
-
- t = swf_InsertTag(t,ST_DEFINEFONTINFO);
-
- swf_FontSetInfo(t,font);
+
+ if(definefont2) {
+ t = swf_InsertTag(t,ST_DEFINEFONT2);
+ swf_FontSetDefine2(t, font);
+ } else {
+ t = swf_InsertTag(t,ST_DEFINEFONT);
+ swf_FontSetDefine(t, font);
+ t = swf_InsertTag(t,ST_DEFINEFONTINFO);
+ swf_FontSetInfo(t, font);
+ }