Re: NSView out of memory problem

2008-04-02 Thread Andre Schnoor
Am 02.04.2008 um 01:05 schrieb Graham Cox: As I said, it says nothing about how it's implemented. Chances are, it will avoid creation of an unnecessary NSBezierPath object, but relying on that being the case is folly. On 2 Apr 2008, at 2:23 am, Matthew Whillock wrote: The class reference

Re: NSView out of memory problem

2008-04-01 Thread Andre Schnoor
p1 = [NSBezierPath bezierPath] ; [p1 moveToPoint: linebottom] ; [p1 lineToPoint: linetop] ; [p1 stroke] ; You could keep a permanent bezier path at a convenient location (e.g. your view) and empty it instead of releasing it. This worked fine for my app: [localPath re

Weird NSFontManager Behavior

2008-03-26 Thread Andre Schnoor
Hi All, hopefully someone can shed a bit light on this strange issue: [[NSFontManager sharedFontManager] fontWithFamily: @"Lucida_Grande" traits: NSUnitalicFontMask | NSBoldFontMask weight: 0.5 size: 14.0] delivers the correct font when the application was launch