Re: Bug? Typed characters invisible!

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Fri, 25 Apr 1997 00:31:43 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

>from spl@szechuan.ucsd.edu (Steve Lamont) :

>>I used 'libforms.so.0.84' up to now. Today I got '0.86.1' an I
>>dicovered a strange behaviour: All text typed in a normal input
>>field is invisible but the cursor proceeds.

>This generally happens when the vertical space allotted for the text
>is too small to contain the text.

>This is a misfeature in XForms, IMNSHO. TC: is there a reason for
>this all or nothing clipping?

Yes, there is a reason, admittedly not a well justified one.
Text drawings are handled by a single function that
does gross clipping, mainly for browser's benefit. This
unfortunately does not work well for single-lined input.
This will get fixed eventually. At the meantime, my hope
is that everybody would start to use fl_adjust_form_size (can
be auto-emitted by fdesign), which in addition to
fixing the input field problem also compensates
dynamically for font size variations thus taking
some of the guess work on how many extra pixels to leave for
the label so the label won't overflow the box on
a really out of whack system.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/