Carbon


ATSUCountFontTracking

Header: ATSUnicode.h Carbon status: Supported

Counts the number of font trackings in a font.

OSStatus ATSUCountFontTracking (
    ATSUFontID iFont, 
    ATSUVerticalCharacterType iCharacterOrientation, 
    ItemCount *oTrackingCount
);
Parameter descriptions
iFont

The ID of the font whose font trackings you want to count.

iCharacterOrientation

The glyph orientation of the font tracking you want to count. See “Glyph Orientation Constants” for a description of possible values. You must specify this value because there are different font trackings for different glyph orientations.

oTrackingCount

On return, a pointer to the number of font trackings in the font. You cannot pass NULL for this parameter.

function result

A result code. The result code kATSUInvalidFontErr indicates that the ID does not correspond to any installed font.

DISCUSSION

The ATSUCountFontTracking function determines the total number of font trackings defined in a font. You can pass one less than this count in the iTrackIndex parameter of the function ATSUGetIndFontTracking.

VERSION NOTES

Available beginning with ATSUI 1.1.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.6 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)