Re: Assuring Helvetica font present
Re: Assuring Helvetica font present
- Subject: Re: Assuring Helvetica font present
- From: Andrew Farmer <email@hidden>
- Date: Wed, 24 Jan 2007 18:57:48 -0800
On 24 Jan 07, at 09:45, Matt R wrote:
This is a two-part question. I have an app which displays NSStrings
in a
custom view, and for graphical reasons it's important that they are
consistent in terms of appearance and size. Right now I have it set to
always print out as Helvetica-Bold, however I'm aware that although
helvetica is included on mac systems it can be turned off or
removed. I'd
use a non-removable font such as the system's Geneva but I need the
specific
look that Helvetica provides. Does anyone know the best way to ensure
Helvetica is installed properly, and what options I have available
if I find
out it is not available on a given system? Can I somehow package
the font
file as a resource in my bundle and then install it automatically,
or is
that a 'no-no'? And if my app is running on another language system
such as
japanese, will printing with a roman font still display properly?
(despite
being in the wrong language)
Simple answer:
1. You can assume that Helvetica is always available. It's
distributed with the system, and, if the user disables it in Font
Book, all sorts of things are going to start breaking anyway - Font
Book even displays a dire-looking warning if you try:
"Are you sure you want to disable the selected fonts?
The current selection contains system fonts. Disabling system fonts
may adversely affect some applications."
So, if a user decides to disable Helvetica anyway, it's their own
darn fault.
2. Helvetica is available on all systems, regardless of the user's
language setting. (Remember that there's no "Japanese-language
version" of OS X - the only difference on a Mac in Japan is the
labels on the keyboard, the keyboard layout, and the default language
setting.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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