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: Stefan Pantke <email@hidden>
- Date: Sat, 22 Jan 2005 15:42:27 +0100
Am 22. Jan 2005 um 06:25 schrieb Glenn Zelniker:
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?
You can't be absolutely sure, which fonts are available. If I
remember correctly, even the AB hangs, if you delete the Helvetica.
Thus, I suppose it would be best to iterate through the list
of all available fonts, to make sure that you use an existing one.
Kinds,
Stefan
_______________________________________________
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