From aa532afae8561b330a17beec859dcf7024300793 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 8 Aug 2004 08:51:20 +0000 Subject: [PATCH] added call to swf_FontPrepareForEditText() for fonts. --- src/swfc.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 1.7.10.4