Jan Trembulak wrote:
> 
> I'm working on GNUStep application, that succesfully runing on Openstep for
> Mach 4.2. I use gstep-core-000405, but I have some problems:
> 
> 1. I got message: Segmentation fault ... in free ()
>     when I use:
> 
>     NSImage *img = [[NSImage alloc] initWithContentsOfFile:
> "CursorImage.tiff"];
>     NSCursor *cursor = [[NSCursor alloc] initWithImage: img];
> 

What size is the image? Can you send it to me? Alternately, look at the
test app Testing/nscursor.m - That program does the same thing so you
should be able to insert the image there and see if it works.



> 2. Operator PScomposite (...) with NSCompositeCopy working in version
> gstep-core-0.6.5, but no in last version (gstep-core-000405).
> 

What doesn't work about it? It seems fine to me.

> 4. In Openstep for Mach 4.2 object of type NSFont can not be retained.

That's odd. It doesn't say that in the documentation. It should work
like any other object.


>     I have several problems with that, becouse, if I create object of type
> NSFont, I don't retain it. I have also problem in NSTextField. When I click
> on this object in application window, I got message: NSFont does not
> recognized -copyWithZone: message.
>

That should have been fixed. Perhaps you are using an old version of the
library and don't know it. Make sure you've deleted any installed
GNUstep libraries and reinstall them again.

-- 
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
[EMAIL PROTECTED] (http://www.doc.com)    | something hard enough, and it 
[EMAIL PROTECTED] (http://www.gnustep.org)| will fall over.

Reply via email to