Re: where's "System Font Text" in Xcode3?
Re: where's "System Font Text" in Xcode3?
- Subject: Re: where's "System Font Text" in Xcode3?
- From: Jonathan Hess <email@hidden>
- Date: Fri, 18 Jan 2008 11:47:37 -0800
On Jan 18, 2008, at 5:26 AM, Jean-Daniel Dupas wrote:
Le 18 janv. 08 à 14:12, Kyle Sluder a écrit :
On Jan 18, 2008 7:16 AM, Johan Kool <email@hidden> wrote:
In Interface Builder you could set the font to be "System Font" or
"Small System Font" etc. That seems to be gone in IB now. I suspect
that this is what is being asked about. One can just use "Lucida
Grande", but that is of course not guaranteed to always remain the
system font.
Psst... "System Font Text" was just an NSTextField with Lucida Grande
13. ;-) There's no mapping of pseudo font names to actual font
names
like there in in GTK/HTML/Win32.
Apple can't just change the default system font and force
applications
to cope. Localization is often dependent upon string length, which
of
course is dependent upon the font in use.
--Kyle Sluder
There is no pseudo font name except for the system font as the
NSFont class has a +systemFont method that return the default font.
Apple can change the system font by changing the value returned by
this method. (so all applications that do not explicitly use a
custom font will use the new font).
Hey Guys -
I just thought I would clear this up. All NIB file's have fonts
encoded in them, including the ones generated by IB 2.x. The behavior
of the font panel in IB 2.x was just a shortcut for choosing the
system fonts.
Good Luck -
Jon Hess
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden