On Fri, 18 May 2007 09:04:39 +0200 Herbert Voss <[EMAIL PROTECTED]> wrote:
> Martin Vermeer wrote: > > On Thu, May 17, 2007 at 11:32:54PM +0100, Josי Matos wrote: > >> On Monday 07 May 2007 11:02:29 pm Micha Feigin wrote: > >>> Sorry, got it wrong, missed the special == "none" in the lyx file and the > >>> not is binary instead of logical (too many programing languages in > >>> parallel ... ) > >>> > >>> Anyway this is supposed to be the correct patch (I hope I got the > >>> indentation according to the coding convention). > >> Martin, what do you have to say about this? > >> > >> It is proposed as a fix for bug 3242. > > > > If it works... > > > > Does this mean that a height value of 0 is now taken as a request > > for default height? > > > > I suppose it is safe as it is a physically unrealistic value. > > > why is this physically unrelated? It is the value for a vertical > box of height 0pt, which may be useful just like \makebox[0pt]... > > Herbert > A box of height 0pt is theoretically possible although I'm not sure why anyone would want it (it's much less useful than an automatic height box). The right solution is to test for Length.empty() but there is not way to enter it at the moment in the box. I have some spare time now to look at it so if you can point me at the code handling the box I believe I can come up with a fully correct solution that would also allow entering a height of 0. It requires adding a measurement type of none and setting the default value to it on an empty box instead of 0pt