Re: Different System Fonts in Tiger, Panther, etc.
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