• 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: Different System Fonts in Tiger, Panther, etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different System Fonts in Tiger, Panther, etc.


  • Subject: Re: Different System Fonts in Tiger, Panther, etc.
  • From: John Stiles <email@hidden>
  • Date: Sun, 28 Aug 2005 18:15:25 -0700

The font itself is probably the same. However, Apple is continually optimizing the code which renders their fonts, and their optimizations occasionally lead to slight variations in the resulting output.
I think if you just leave a handful of empty pixels' worth of space, you ought to be fine. It's very rare that the actual spacing varies by a significant amount; this would certainly break many shipping apps. If you are spacing things exactly down to the pixel, on the other hand, you may run into trouble, but this has been true since at least Mac OS 8 (when Charcoal, with only slightly-different character spacing, became an option alongside Chicago for the system font).



Jerry Krinock wrote:

Apple uses slightly different system fonts with each revision in OS X.  I
have a table of NSTextFields that looks very nice in Tiger, but I forgot to
leave extra space because in Panther the same text at the same font size,
using the "system" font, takes up more space.

Of course, I could reverse-engineer and experimenetally find a font which
will be Tiger-size in Panther and then setFont: of all my text fields.  But
before I spend an hour doing something which is so pathetically stupid, does
anyone know is there a "right" way to do this?

Jerry Krinock


_______________________________________________ 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


References: 
 >Different System Fonts in Tiger, Panther, etc. (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Link to Dylibs Depending on Other Dylibs [Solution for Matlab]
  • Next by Date: Re: NSSearchField retaining NSDocument?
  • Previous by thread: Different System Fonts in Tiger, Panther, etc.
  • Next by thread: Re: Different System Fonts in Tiger, Panther, etc.
  • Index(es):
    • Date
    • Thread