Re: Getting the availably fonts of a font family
Re: Getting the availably fonts of a font family
- Subject: Re: Getting the availably fonts of a font family
- From: Aki Inoue <email@hidden>
- Date: Thu, 25 Apr 2002 17:51:32 -0700
-[NSFontManager availableMembersOfFontFamily:] is your solution.
It gives you back an array of all typefaces in the family.
Note each elements in the array is also an array.
The element array consists of (<font name>, <face name>, <weight>, <traits>).
Aki
On Thursday, April 25, 2002, at 05:24 PM, email@hidden wrote:
NSFontManager provides the availableFontFamilies method to get an array of all the font families, and availableFonts to get an array of all the fonts. I am looking for a way to get a list of the fonts in a given family. I have seen it done in programs where the font families are listed in a menu and the families' indivual fonts (bold, italic, etc.) in a submenu. Does anyone know how to do this?
_______________________________________________
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.
_______________________________________________
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.