From: kramm Date: Fri, 25 Mar 2005 10:58:17 +0000 (+0000) Subject: fonts are exported now, too X-Git-Tag: release-0-7-0~157 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=f240760415f2f9312368cedd845ac3c5eac4c565;p=swftools.git fonts are exported now, too --- diff --git a/src/swfc.c b/src/swfc.c index 092a49d..d2105e0 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -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))