Re: OK, but what do 'attributes' look like?
Re: OK, but what do 'attributes' look like?
- Subject: Re: OK, but what do 'attributes' look like?
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 9 Mar 2004 00:06:39 -0800
On Mar 8, 2004, at 11:04 PM, Dave Rosborough wrote:
By the way, if you want to get a list of font names, try something
like this:
NSLog(@"%@", [[NSFontManager sharedFontManager] availableFonts]);
In case it becomes relevant, note that there's a difference between a
font's familyName and its displayName...
- (NSString *)familyName
Returns the receivers family namefor example, Times or Helvetica.
This name is the one that NSFontManager uses and may differ slightly
from the AFM name.
The value returned by this method is intended for an applications
internal usage and not for display. Use displayName instead.
mmalc
_______________________________________________
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.