• 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: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont


  • Subject: Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
  • From: "Sven-S. Porst" <email@hidden>
  • Date: Sat, 5 Jan 2002 20:03:18 +0100

>The trick - or at least it used to be the trick under NeXTStep/OpenStep,
>I haven't tried it lately - is to use zero for the size.
>
>font = [NSFont userFixedPitchFontOfSize:0.0];

In <file:///Developer/Documentation/Cocoa/TasksAndConcepts/
ProgrammingTopics/FontHandling/Tasks/QueryingAquaFontVary.html> they seem
to recommend to using -1.0 as the parameter, which works for me (0.0
might work as well, though - I haven't tried it).

Cheers

Sven

--
Sven-S. Porst . PGP: 0x0085ABA3 . http://homepage.mac.com/ssp/
Don't panic! Base 8 is just like base 10 really
- if you're missing two fingers.
-- Tom Lehrer, New Maths


References: 
 >Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: Tips on Reading TFM?
  • Next by Date: Showing a window from a second nib
  • Previous by thread: Re: Repost: NSFont userFontOfSize vs setUserFixedPitchFont
  • Next by thread: Command-delete shortcut in IB?
  • Index(es):
    • Date
    • Thread