• 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: Simple NSAttributedString question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple NSAttributedString question


  • Subject: Re: Simple NSAttributedString question
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 24 Jul 2003 14:13:51 -0700

On Thursday, July 24, 2003, at 01:27 PM, Christopher Corbell wrote:

This seemed straightforward... I just create a default NSFont (a system font, in
small-system-font size) and if I want it italic I set the font trait NSItalicFontMask.
Then I create a dictionary with this as object and NSFontAttributeName as key...

Except that this doesn't appear to do anything in italic. NSBoldFontMask -does-
work, so is this just a quirk of the system font (no italic available), or am I doing
something else wrong?

If you are doing things correctly, then what you are seeing is a quirk of the system font. Apple does not ship an italic variant of Lucida Grande.

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.

References: 
 >Re: Simple NSAttributedString question (From: Christopher Corbell <email@hidden>)

  • Prev by Date: Re: Can a subclass of NSDictionary do this?
  • Next by Date: Re: Can a subclass of NSDictionary do this?
  • Previous by thread: Re: Simple NSAttributedString question
  • Next by thread: Re: Simple NSAttributedString question
  • Index(es):
    • Date
    • Thread