[XForms] XForms text rendering bug patch

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Wed May 5 12:30:29 EDT 2004


>>>>> "Angus" == Angus Leeming <angus.leeming at btopenworld.com> writes:

Angus> To subscribers of the xforms list
Angus> On Wednesday 05 May 2004 4:50 pm, Jean-Marc Lasgouttes wrote:
>> I was thinking about bugs like the following:
>> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg41904.html

Angus> Actually, wouldn't this bug be fixed by changing this:

Angus> 	/* Check whether visible */ 
Angus> 	if (clip != 0 && (starty[i] + flx->fdesc) > y + h) continue;

Angus> to this:

Angus> 	/* Check whether visible */ 
Angus> if (clip != 0 && starty[i] > y + h) continue;

Angus> Ie, draw this line of text even if it extends beyond the widget
Angus> and then rely on XSetClipRectangles to do its stuff.

It seems reasonable. Do we have a way to check that it does what we
think it does?

JMarc



More information about the Xforms mailing list