Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
- Subject: Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
- From: David Rehring <email@hidden>
- Date: Fri, 04 Jan 2002 20:33:51 -0800
On 1/3/02 10:47 PM, Greg Titus at email@hidden wrote:
>
Hi David,
>
>
The trick - or at least it used to be the trick under NeXTStep/OpenStep,
>
I haven't tried it lately - is to use zero for the size.
>
>
font = [NSFont userFixedPitchFontOfSize:0.0];
>
>
That will give you the default font in the default size.
>
>
Hope this helps,
>
--Greg
Yes, this does seem to work [for how long, who knows].
Now, to get scrolling to work in a reasonable way...
Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!