Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Michael Schmitt
Hi Ruurd, I totally agree with you! However, there are still more issues with the free Qt. And, things will probably come up after more rigorous testing. Besides the font thing, people reported cpu hogging and errors when selecting text. Did you compile the library with option "-release"? Sometim

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Michael Schmitt
Michael Schmitt wrote: I can also provide you with a LyX 1.3.6cvs binary but I guess it is no yet ready for public release (e.g., LyX/Win32 complains about not being able to write to "/tmp"). Because this directory does not exist and LyX doesn't try and create it. Create it yourself and things wil

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in Ruurd> message news:[EMAIL PROTECTED] >> > "Ruurd" == Ruurd Reitsma Ruurd> <[EMAIL PROTECTED]> writes: >> Hmm, these values seem very weird to me... I cannot understand how >>

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in Ruurd> message news:[EMAIL PROTECTED] >> > "Ruurd" == Ruurd Reitsma Ruurd> <[EMAIL PROTECTED]> writes: >> Ruurd, about your distributions: I seem to remember that LyX/Win >> 1

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Ruurd Reitsma
"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: > > Ruurd, about your distributions: I seem to remember that LyX/Win 1.3.3 > was distributed with the docs from the HEAD of lyxdoc, which have been > updat

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Ruurd> Some reverse engineering reveils that the height is substracted > Ruurd> from the y value. > > This looks much better... > > Angus, what about checking that in? Sure. Go for it. (My tree is currently full of package-related stuff.) -- Angus

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> I've fixed the wrong y-values of boundingBox. qt/gpl now gives Peter> the same as "3.3.3 Win32 Eval". I hope this is a step in the Peter> right direction. Thanks a lot, Peter. It seems that it really helps. JMarc

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in Ruurd> message news:[EMAIL PROTECTED] >> > "Ruurd" == Ruurd Reitsma Ruurd> <[EMAIL PROTECTED]> writes: >> Hmm, these values seem very weird to me... I cannot understand how >>

Re: LyX needs help: Broken font metrics computation

2005-01-07 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> I totally agree with you! However, there are still more issues Ruurd> with the free Qt. And, things will probably come up after more Ruurd> rigorous testing. Besides the font thing, people reported cpu Ruurd> hogging and errors when

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Ruurd Reitsma
Michael, > IMHO there is no need to worry about the behaviour of Qt 3.2.1/Win any more. > > Yesterday evening, one of the guys of the Free Qt/Win32 team fixed the font > metrics bug. I checked the fix and everything looks pretty good. Even the > display of math formula has improved _significantly_

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Angus Leeming
Michael Schmitt wrote: > I can also provide you with a LyX 1.3.6cvs binary but I guess it > is no yet ready for public release (e.g., LyX/Win32 complains > about not being able to write to "/tmp"). Because this directory does not exist and LyX doesn't try and create it. Create it yourself and thi

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Michael Schmitt
write to "/tmp"). Kind regards, Michael - Original Message - From: "Ruurd Reitsma" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 4:02 PM Subject: Re: LyX needs help: Broken font metrics computation "Jean-Marc Lasgouttes" <[EMAIL PROTEC

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Ruurd Reitsma
"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: > Hmm, these values seem very weird to me... I cannot understand how qt > 3.2.1 could have been sooo broken. > Some reverse engineering reveils that the h

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in Ruurd> message news:[EMAIL PROTECTED] >> The 3.2.1nc value is strange. It may be related to the QFontMetrics >> change I just mentioned elsewhere in this thread. It may be that qt

Re: LyX needs help: Broken font metrics computation

2005-01-06 Thread Ruurd Reitsma
"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The 3.2.1nc value is strange. It may be related to the QFontMetrics > change I just mentioned elsewhere in this thread. It may be that qt > 3.2.x is not usable for us in windows, or that we have to translate > the

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Peter Kümmel
> Ruurd> 3.2.1 NC: top: -22 bottom: -12 > Ruurd> 3.3.3 Win32 Eval: top: -11 bottom: -1 I've fixed the wrong y-values of boundingBox. qt/gpl now gives the same as "3.3.3 Win32 Eval". I hope this is a step in the right direction. Peter

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Peter Kümmel
Ruurd> 3.2.1 NC: top: -22 bottom: -12 Ruurd> 3.3.3 Win32 Eval: top: -11 bottom: -1 I've fixed the wrong y-values of boundingBox. qt/gpl now gives the same as "3.3.3 Win32 Eval". I hope this is a step in the right direction. Peter

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Michael Schmitt
Jean-Marc, Michael, a quick question: are you sure of your test program? No, I am not sure. I just tried to create the smallest possible test case that does not crash and produces some "reasonable" output. To make sure we are not hunting a phantom, we can use the Qt example "examples/drawdemo/"

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: >> What output do you have with Michael's testcase in Qt/Win 3.2.1 NC? Ruurd> 3.2.1 NC: top: -22 bottom: -12 Ruurd> 3.3.3 Win32 Eval: top: -11 bottom: -1 The second one is normal, according to http://doc.trolltech.com/3.3/qrect.html#de

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes: Michael> Dear Ralf, Christian, and all others, as you have already Michael> noticed, the LyX team is working on a native Win32 port of Michael> their text processor, using your GPL'd QT/Win32. Things have Michael> progressed nicely in

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Ruurd Reitsma
"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: > > Ruurd> On the Lyx side, this helps: > [...] > Ruurd> At least, with Non-Commercial 3.2.1. > > So you mean that official Qt/Win and Qt/X have different

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> On the Lyx side, this helps: [...] Ruurd> At least, with Non-Commercial 3.2.1. So you mean that official Qt/Win and Qt/X have different semantics for font metrics? This is mind-boggling. What output do you have with Michael's tes

Re: LyX needs help: Broken font metrics computation

2005-01-05 Thread Ruurd Reitsma
"Michael Schmitt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > However, we have a serious problem with the computation of font metrics. I > have generated a small test case that illustrates the problem: > > #include > > int main(int argc, char **argv) { > QApplication app(argc,

LyX needs help: Broken font metrics computation

2005-01-04 Thread Michael Schmitt
Dear Ralf, Christian, and all others, as you have already noticed, the LyX team is working on a native Win32 port of their text processor, using your GPL'd QT/Win32. Things have progressed nicely in the last couple of weeks and Qt/Win32 seems to work quite well. However, we have a serious proble