Re: Newbie Locating Fonts Question
Re: Newbie Locating Fonts Question
- Subject: Re: Newbie Locating Fonts Question
- From: Brian Webster <email@hidden>
- Date: Thu, 31 Oct 2002 13:39:15 -0600
The fonts located in the various standard locations are managed by the
system and have a strict pecking order. I believe the order it will go
in, from first to last, is: ~/Library/Fonts, /Library/Fonts,
/Network/Fonts, /System/Library/Fonts, /<Classic System Folder>/Fonts.
However, the system decides this order and there is no way in NSFont to
override this.
If you want to look at a particular font, you can either move the one
you want to look at to a higher priority location or you can activate
it yourself. The FMActivateFonts() function, located in Fonts.h in the
Carbon framework, will let you activate a font at any location in the
filesystem, but I'm not sure what priority it will get compared to a
font in one of the system locations.
On Thursday, October 31, 2002, at 12:17 PM,
email@hidden wrote:
As is obvious from my thread of questions I am struggling to learn
about the Font system. I suspect that there are subtle differences
between a particular font (in my case Courier) that may be stored in
the System folder, the OS 9 folder, the shared fonts folder or the
user's folder.
Is there a way for me to use a font from a particular location. In
other words when I ask for the NSFont Courier I want to use the font
from a particular location.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.