X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfc.c;h=5a9c86eb23d12f7922582727c82293797dee19a1;hb=5f9340008137247d23f6c0267baece4d8376cee9;hp=d37995f6a053a56c170e3616e3b7625589f918a7;hpb=235dbee7be55c91fbe3d620f3624fccab04b1f22;p=swftools.git 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);