Index: ChangeLog =================================================================== RCS file: /cvsroot/xforms/xforms/ChangeLog,v retrieving revision 1.97 diff -u -p -r1.97 ChangeLog --- ChangeLog 6 May 2004 09:56:58 -0000 1.97 +++ ChangeLog 6 May 2004 10:00:45 -0000 @@ -1,3 +1,8 @@ +2004-05-05 Angus Leeming + + * lib/xtext.c (fl_drw_string): enable the drawing of characters + in a font larger than the input widget. + 2004-05-06 Angus Leeming * fdesign/fd_spec.c: initialization of the FL_CHOICE component of Index: NEWS =================================================================== RCS file: /cvsroot/xforms/xforms/NEWS,v retrieving revision 1.7 diff -u -p -r1.7 NEWS --- NEWS 5 May 2004 15:13:08 -0000 1.7 +++ NEWS 6 May 2004 10:00:45 -0000 @@ -1,3 +1,5 @@ + o Enable input widgets to (partially) display characters larger than + the input height. o Repair double clicking on a file in the file selector. o Pass the associated (XEvent * xev) to fl_handle_object on an FL_DRAW event, allowing an FL_FREE object to make use of this info to Index: lib/xtext.c =================================================================== RCS file: /cvsroot/xforms/xforms/lib/xtext.c,v retrieving revision 1.5 diff -u -p -r1.5 xtext.c --- lib/xtext.c 24 Apr 2003 09:35:35 -0000 1.5 +++ lib/xtext.c 6 May 2004 10:00:52 -0000 @@ -214,9 +214,9 @@ fl_drw_string(int horalign, int vertalig for (i = topline; i < endline; i++) { - /* Check whether visible */ - if (clip && (starty[i] + flx->fdesc) > y + h) - continue; + /* If clipping, check whether any of the font is visible */ + if (clip != 0 && (starty[i] - flx->fasc) > (y + h)) + break; ulpos = -1; /* check if have underline request */