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

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to