• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to change default font for NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • FontWithName Re: How to change default font for NSTextView?
      • From: Zac Belado <email@hidden>
References: 
 >Re: How to change default font for NSTextView? (From: Manfred Lippert <email@hidden>)

  • Prev by Date: Re: How to change default font for NSTextView?
  • Next by Date: Preference Pane and Undo Manager
  • Previous by thread: Re: How to change default font for NSTextView?
  • Next by thread: FontWithName Re: How to change default font for NSTextView?
  • Index(es):
    • Date
    • Thread