• 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
Bolding using applyFontTraits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bolding using applyFontTraits


  • Subject: Bolding using applyFontTraits
  • From: Tom Gray <email@hidden>
  • Date: Wed, 07 Aug 2002 13:55:03 -0400

As always, thanks in advance!

I am trying to apply an NSBoldFontMask to the Monaco font I am using in an
NSTextView. However, it is not working. I have no problem getting italics.

In other words this works:

[myTextStorage applyFontTraits:NSItalicFontMask range:theRange];

but this does NOT work:

[myTextStorage applyFontTraits:NSBoldFontMask range:theRange];

Any ideas?


--

Tom Gray
email@hidden
or
email@hidden
_______________________________________________
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:
    • Re: Bolding using applyFontTraits
      • From: David Martin <email@hidden>
  • Prev by Date: How to make window not taking focus?
  • Next by Date: NSTableView: getting different behaviours when selecting
  • Previous by thread: How to make window not taking focus?
  • Next by thread: Re: Bolding using applyFontTraits
  • Index(es):
    • Date
    • Thread