• 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
NSAttributedString attribues misbehaving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAttributedString attribues misbehaving


  • Subject: NSAttributedString attribues misbehaving
  • From: Robert Clair <email@hidden>
  • Date: Tue, 23 Nov 2004 08:06:14 -0500

I'm drawing some NSAttributedString's in a NSTextView with

 [NSLayoutManager drawGlyphsForGlyphRange:atPoint:].

I set the text color by setting NSForegroundColorAttributeName in an
attributes dictionary and calling [NSTextView setTypingAttibutes:].
OK so far, works as expected. But then I also set NSStrokeColorAttributeName
and NSStrokeWidthAttributeName to outline the text in a contrasting color.
I get my outline... but the fill disappears.


Is there a reason for ignoring a requested attribute ?

.......Bob Clair

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSAttributedString attribues misbehaving
      • From: Douglas Davidson <email@hidden>
    • Re: NSAttributedString attribues misbehaving
      • From: Guy English <email@hidden>
  • Prev by Date: Re: MRJ application builder
  • Next by Date: [ANN] Another Signal Handling Example (uses mach messaging)
  • Previous by thread: Re: TableView doesn't show alternating colors upon load
  • Next by thread: Re: NSAttributedString attribues misbehaving
  • Index(es):
    • Date
    • Thread