From: kramm Date: Sun, 8 Aug 2004 08:51:20 +0000 (+0000) Subject: added call to swf_FontPrepareForEditText() for fonts. X-Git-Tag: release-0-6-0~33 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=aa532afae8561b330a17beec859dcf7024300793;p=swftools.git added call to swf_FontPrepareForEditText() for fonts. --- diff --git a/src/swfc.c b/src/swfc.c index d37995f..5a9c86e 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -1021,6 +1021,8 @@ void s_font(char*name, char*filename) font->layout = 0; swf_FontCreateLayout(font); } + /* just in case this thing is used in .edittext later on */ + swf_FontPrepareForEditText(font); font->id = id; tag = swf_InsertTag(tag, ST_DEFINEFONT2);