Re: How to change default font for NSTextView?
Re: How to change default font for NSTextView?
- Subject: Re: How to change default font for NSTextView?
- From: Douglas Davidson <email@hidden>
- Date: Wed, 13 Feb 2002 12:19:59 -0800
On Wednesday, February 13, 2002, at 12:03 PM, Manfred Lippert wrote:
I first tried it with [NSFont fontWithName:@"Lucida Grande" size:12]],
but
then the line spacing was wrong and my Font Panel does not show Lucida
Grande. (_None_ of the Fonts was selected in the Font Panel.)
Now I use [NSFont systemFontOfSize:12] and this works perfectly and is
what
I want.
I believe the problem here is that the system font is not actually named
"Lucida Grande"; that is the display name, not the internal name used by
fontWithName:.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.