On Sep 21, 2009, at 2:29 PM, Laurent Daudelin wrote:
On Sep 21, 2009, at 14:23, Kyle Sluder wrote:
Fonts really don't have colors. I don't know why
NSFontColorAttribute
is defined in NSFontDescriptor.h, but none of the other attributed
string attributes are in there.
Why are you trying to attach a color to a font?
--Kyle Sluder
Simple: I want to set the font as a gray to show that the text
field cell is disabled, e.g. cannot be selected.
Yes, but a font describes essentially the shape of all the glyphs.
When it comes time to draw it, -then- you apply characteristics like
color, but to the string you're trying to draw, not to the font.
steve
_______________________________________________
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 arch...@mail-archive.com