Returns an array with one entry for each available member of a font family.
- macOS 10.0+
The name of a font family, like one specified by the value of
The available members of
family. See the following discussion for a specific description.
Each entry of the returned
NSArray is another
NSArray with four members, as follows:
0. The PostScript font name, as an
1. The part of the font name used in the font panel that’s not the font name, as an
NSStringobject. This value is not localized—for example,
2. The font’s weight, as an
3. The font’s traits, as an
The members of the family are arranged in the font panel order (narrowest to widest, lightest to boldest, plain to italic).
For example, if you call
available, it might return an array like this: