From: kramm Date: Tue, 17 Aug 2004 16:36:26 +0000 (+0000) Subject: the font height of .edittext is now the same as the one for .text. X-Git-Tag: xpdf-1-01-latest~10 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=377c53be1d1532eb887a5f619c900cc222462366 the font height of .edittext is now the same as the one for .text. --- diff --git a/src/swfc.c b/src/swfc.c index 5a9c86e..5189e72 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -2437,7 +2437,7 @@ static int c_edittext(map_t*args) //"name font size width height text="" color=black maxlength=0 variable="" @password=0 @wordwrap=0 @multiline=0 @html=0 @noselect=0 @readonly=0"}, char*name = lu(args, "name"); char*font = lu(args, "font"); - int size = (int)(100*20*parsePercent(lu(args, "size"))); + int size = (int)(1024*parsePercent(lu(args, "size"))); int width = parseTwip(lu(args, "width")); int height = parseTwip(lu(args, "height")); char*text = lu(args, "text");