From f240760415f2f9312368cedd845ac3c5eac4c565 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 25 Mar 2005 10:58:17 +0000 Subject: [PATCH] fonts are exported now, too --- src/swfc.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 1.7.10.4