Re: What fonts are guaranteed to be on a user's machine?
Re: What fonts are guaranteed to be on a user's machine?
- Subject: Re: What fonts are guaranteed to be on a user's machine?
- From: Jeremy Dronfield <email@hidden>
- Date: Sat, 22 Jan 2005 11:15:52 +0000
You can't rely 100% on any font to be present on the user's machine,
even in /System/Library/Fonts. You can rely on some of them to have
been *installed*, but you can't necessarily be sure that the user has
kept them.
The only font you should rely on is the one pointed to by -[NSFont
systemFontOfSize:] and friends.
Regards,
Jeremy
On 22 Jan 2005, at 6:11 am, Abhi Beckert wrote:
I haven't looked it up, but my understanding is that you can rely on
any font that's in /System/Library/Fonts. But the fonts in
/Library/Fonts might not be on all macs, and are subject to change
with major upgrades to MacOS (for example, I think tiger has a few new
fonts, and some previous ones are gone if you don't install over an
existing panther installation).
If you need one that's not in /System I'd either put it in the app
bundle (if the license permits) or just use a substitute font that you
can rely on when it's not installed.
- Abhi
On Sat, 22 Jan 2005 00:25:09 -0500, Glenn Zelniker <email@hidden>
wrote:
Sorry if this has been covered before. I have an application that I'm
"skinning" and I want to use certain fonts on pulldown menus, buttons,
and the like. I know it's safest to use things like systemFont,
boldSystemFont, etc., but what if I want to use a font like Helvetica?
If, in fact, I can't count on a font being on the end-user's machine,
is there a simple way to include a font in the application's bundle
and
install it from the application -- without making the user go to the
trouble of installing the font manually?
Glenn Zelniker
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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:
email@hidden
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