X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fswfc.c;fp=src%2Fswfc.c;h=3273d65fcc796a205f94494ff94d11bcc95a7d02;hp=34de7f8c5d9c77ac9e4a8a0c2f937fc4a1de5017;hb=73d8cc98d715704a59818e1c2c556b65911e7d85;hpb=0263ce360bed1a321157bb8d9d1f67a3b33b816d diff --git a/src/swfc.c b/src/swfc.c index 34de7f8..3273d65 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -4422,9 +4422,10 @@ static void analyseArgumentsForCommand(char*command) else { SWFFONT* font = dict_lookup(&fonts, lu(&args, "font")); - if (!font) - syntaxerror("font %s is not known in line %d", lu(&args, "font"), line); - else + if (!font) { + //that's ok... it might be an edittext with a system font + //syntaxerror("font %s is not known in line %d", lu(&args, "font"), line); + } else if (font->use && !font->use->glyphs_specified) { if (!strcmp(command, "edittext"))