• 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
NSFont and determining the advancement of a given string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFont and determining the advancement of a given string


  • Subject: NSFont and determining the advancement of a given string
  • From: "A Blossom of Paradise" <email@hidden>
  • Date: Sun, 15 Oct 2006 16:51:06 +1000

dear fellow cocoa developers!,

mr. new-to-cocoa here.

can someone give me some advice how to get a Helvetica 12.0pt bold NSFont? i can [NSFont fontWithName : @"Helvetica" size: 12.0], but where is the bold!!!???

and how can i find how much space (advancement) an arbitrary string will take to display?

regards,
warwick
 _______________________________________________
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: NSFont and determining the advancement of a given string
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Custom dimmed graphic for NSButton?
  • Next by Date: Re: NSFont and determining the advancement of a given string
  • Previous by thread: Re: Custom dimmed graphic for NSButton?
  • Next by thread: Re: NSFont and determining the advancement of a given string
  • Index(es):
    • Date
    • Thread