discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with SimpleAgenda on new GNUstep


From: Fred Kiefer
Subject: Re: Problem with SimpleAgenda on new GNUstep
Date: Tue, 05 Mar 2013 23:14:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

On 05.03.2013 23:04, Philippe Roussel wrote:
On Tue, Mar 05, 2013 at 07:22:57AM +0100, Philippe Roussel wrote:
On Mon, Mar 04, 2013 at 10:06:03PM +0100, Philippe Roussel wrote:
On Mon, Mar 04, 2013 at 08:51:32PM +0000, Richard Stonehouse wrote:
Is this on 64 bits ?

Yes; I haven't built the new GNUstep on 32-bit yet. I'll  try to get
that done tonight.

Which libobjc and compiler ?

GCC 4.7 with libobjc1, from the openSUSE 12.2 release.

Thanks. I'll try to reproduce this setup but it could take some time.

Problem reproduced, now I have to understand and fix it.

It is stuck in an infinite loop in GSHorizontalTypesetter.m, method
-layoutLineNewParagraph: near line 670 but I don't know why.

if (NSIsEmptyRect(rect)) is always true so it breaks out of the while
loop and then reach goto restart on line 695 and starts a new loop.

Any ideas ?

Looks like we are doing the same debugging in parallel :-)
I decided that this was caused by some wired rounding error between CGFloat and float, where the float value was bigger than the corresponding CGFloat value. So I changed the floats in the typesetter code to CGFloat and now it works for me. I will write a ChangeLog entry and commit.

Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]