![]() |
ATSUCountFontFeatureTypes |
||||
Header: | ATSUnicode.h | Carbon status: | Supported | |
Determines the number of feature types defined in a font.
OSStatus ATSUCountFontFeatureTypes ( ATSUFontID iFont, ItemCount *oTypeCount );
The ID of the font whose feature types you want to count.
On return, a pointer to the number of feature types in the font. You cannot pass NULL for this parameter.
A result code. The result code kATSUInvalidFontErr indicates that the ID does not correspond to any installed font.
The ATSUCountFontFeatureTypes function determines the total number of feature types defined in a font. You can use the count passed back in the oTypeCount parameter to determine how much memory to allocate for the oTypes array in the function ATSUGetFontFeatureTypes.
Available beginning with ATSUI 1.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)