Carbon


ATSUGetFontFeature

Header: ATSUnicode.h Carbon status: Supported

Obtains the font feature type and selector for an indexed font feature.

OSStatus ATSUGetFontFeature (
    ATSUStyle iStyle, 
    ItemCount iFeatureIndex, 
    ATSUFontFeatureType *oFeatureType, 
    ATSUFontFeatureSelector *oFeatureSelector
);
Parameter descriptions
iStyle

A reference to a valid style object whose font feature value you want to obtain. You cannot pass NULL for this parameter.

iFeatureIndex

An index of the font feature you want information about. Pass a value between 0 and one less than the value passed back in the oActualFeatureCount parameter of the function ATSUGetAllFontFeatures.

oFeatureType

On return, a pointer to the font feature type corresponding to iFeatureIndex. If the font feature type has not been set, ATSUGetFontFeature passes back the font-specified default value and returns the result code kATSUNotSetErr.

oFeatureSelector

On return, a pointer to the font feature selector. If the feature selector value has not been set, ATSUGetFontFeature passes back the font-specified default value and returns the result code kATSUNotSetErr.

function result

A result code.

VERSION NOTES

Available beginning with ATSUI 1.0.

AVAILABILITY

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)