fonts are exported now, too
authorkramm <kramm>
Fri, 25 Mar 2005 10:58:17 +0000 (10:58 +0000)
committerkramm <kramm>
Fri, 25 Mar 2005 10:58:17 +0000 (10:58 +0000)
src/swfc.c

index 092a49d..d2105e0 100644 (file)
@@ -1156,6 +1156,10 @@ void s_font(char*name, char*filename)
     font->id = id;
     tag = swf_InsertTag(tag, ST_DEFINEFONT2);
     swf_FontSetDefine2(tag, font);
+    tag = swf_InsertTag(tag, ST_EXPORTASSETS);
+    swf_SetU16(tag, 1);
+    swf_SetU16(tag, id);
+    swf_SetString(tag, name);
     incrementid();
 
     if(dictionary_lookup(&fonts, name))