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 5 May 2004 16:44:28 -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; + /* 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 */