• 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
Re: Bold Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bold Text


  • Subject: Re: Bold Text
  • From: Paolo Bertani <email@hidden>
  • Date: Wed, 24 May 2006 10:27:59 +0200

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
  • Follow-Ups:
    • Re: Bold Text
      • From: Thilo Ettelt <email@hidden>
References: 
 >Bold Text (From: Paolo Bertani <email@hidden>)
 >Re: Bold Text (From: Moray Taylor <email@hidden>)
 >Re: Bold Text (From: Paolo Bertani <email@hidden>)

  • Prev by Date: Xcode 2.3 and May Documentation Update
  • Next by Date: Re: Bold Text
  • Previous by thread: Re: Bold Text
  • Next by thread: Re: Bold Text
  • Index(es):
    • Date
    • Thread