Re: Bold Text
Re: Bold Text
- Subject: Re: Bold Text
- From: Paolo Bertani <email@hidden>
- Date: Wed, 24 May 2006 11:02:04 +0200
I thought that every font could be bold-faced.
I was wrong.
Thank you.
Il giorno 24/mag/06, alle ore 10:47, Thilo Ettelt ha scritto:
Have you seen that Geneva doesn't have a bold font trait?
- Thilo
Am 24.05.2006 um 10:27 schrieb Paolo Bertani:
No I didn't.
Now I've tried but doesn't work:
NSFont *font;
font = [NSFont fontWithName:@"Geneva" size:8];
font = [[NSFontManager sharedFontManager] convertFont:font
toHaveTrait:NSBoldFontMask];
NSMutableDictionary *genevaBold;
genevaBold = [[NSMutableDictionary alloc] init];
[genevaBold setObject:font forKey:NSFontAttributeName];
This way I get Geneva text but not Bold, just plain.
Paolo
On 24 maj 2006, at 08.20, Paolo Bertani wrote:
I thought that every font could be Bold-faced...
Have you tried to use the "-[NSFontManager
convertFont:toHaveTrait:] way to get a bold version of some font?
j o a r
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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