Carbon


FNSProfileCountReferences

Header: FontSync.h Carbon status: Supported

Determines the number of font references in a font profile.

OSStatus FNSProfileCountReferences (
    FNSFontProfile iProfile, 
    ItemCount *oCount
);
Parameter descriptions
iProfile

A reference to the font profile whose font references you wish to count.

oCount

On return, a pointer to the number of font references in the profile.

function result

A result code. The result code kFNSBadProfileVersionErr indicates that a font profile has an unsupported format version. This may indicate that a profile is valid, but created by a later version of FontSync, or that a profile is truly invalid. The result code kFNSInvalidProfileErr indicates that a profile does not have a valid structure.

VERSION NOTES

Available beginning with FontSync 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when Font Sync 1.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)