Not sure if it's a known issue but given this:

currentFontDescriptor = [NSFontDescriptor fontDescriptorWithFontAttributes:fontAttributes]; NSFont *fontToUse = [NSFont fontWithDescriptor:currentFontDescriptor size:[[self font] pointSize]];

I'm getting this in the debugger:
(gdb) po currentFontDescriptor
NSCTFontDescriptor <0x2b0fe0> = {
    NSFontColorAttribute = NSCalibratedWhiteColorSpace 0 1;
    NSFontNameAttribute = LucidaGrande;
    NSFontSizeAttribute = 11;
}
(gdb) po [fontToUse fontDescriptor]
NSCTFontDescriptor <0x269460> = {
    NSFontNameAttribute = LucidaGrande;
    NSFontSizeAttribute = 11;
}

As a result, I can't set the font color. What am I doing wrong? This is with 10.5 as base SDK.

Anybody has any idea?

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://nemesys.dyndns.org
Logiciels Nemesys Software                                              
laurent.daude...@verizon.net
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries

_______________________________________________

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

Reply via email to