On Sep 2, 2008, at 7:43 PM, Mike Rossetti wrote:

[attrString addAttribute:NSForegroundColorAttributeName
                   value:[NSColor lightGrayColor] // No effect.
                   range:NSMakeRange(0, [attrString length])];


Rendering a font with an NSColor attribute requires a current NSGraphicsContext. If you don't have one, then it will take the color form the CGContextRef instead.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to