[XForms] XForms text rendering bug patch

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Wed May 5 11:50:08 EDT 2004


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

Angus> To subscribers of the xforms list
Angus> On Tuesday 02 March 2004 2:41 pm, Jean-Marc Lasgouttes wrote:
>> >>>>> "Dmitry" == Dmitry Karasik <dmitry at karasik.eu.org> writes:

Dmitry> Under certain condition, input lines do not display any text.
Dmitry> The bug, which is basically comparison of a signed integer as
Dmitry> a boolean, is fixed by the following patch:

>> Hello,

>> Thanks for the patch. I think we are suffering from this bug in LyX
>> in some circumstances, but we never got to fix it.

Angus> Can you expand further?

I was thinking about bugs like the following:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg41904.html

Angus> I also see that this command is the only place in the routine
Angus> that mentions clip and which does not qualify it with (clip >
Angus> 0). In fact, all they are used for elsewhere is:

Angus>     if (clip > 0) fl_set_text_clipping();

Angus>     if (clip > 0) fl_unset_text_clipping();

Angus> Conclusion, it's meant and should stay.

The it should probably be "if (clip !=0)" to make things clear.

JMarc



More information about the Xforms mailing list