added call to swf_FontPrepareForEditText() for fonts.
authorkramm <kramm>
Sun, 8 Aug 2004 08:51:20 +0000 (08:51 +0000)
committerkramm <kramm>
Sun, 8 Aug 2004 08:51:20 +0000 (08:51 +0000)
src/swfc.c

index d37995f..5a9c86e 100644 (file)
@@ -1021,6 +1021,8 @@ void s_font(char*name, char*filename)
        font->layout = 0;
        swf_FontCreateLayout(font);
     }
        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);
 
     font->id = id;
     tag = swf_InsertTag(tag, ST_DEFINEFONT2);