![]() |
FNSProfileClose |
||||
Header: | FontSync.h | Carbon status: | Supported | |
Closes the file associated with a font profile and disposes of run-time data.
OSStatus FNSProfileClose ( FNSFontProfile iProfile );
A pointer to a font profile reference. Pass a reference to the font profile you wish to close.
A result code. The result code kFNSBadProfileVersionErr indicates that a font profile has an unsupported format version. This may indicate that the profile is valid, but created by a later version of FontSync, or that the profile is truly invalid. The result code kFNSInvalidProfileErr indicates that a profile does not have a valid structure. FNSProfileClose may return File Manager errors.
The FNSProfileClose function closes the file associated with a font profile. Any memory associated with the reference is released. You should call the function FNSProfileCompact before closing a profile that has been edited, since closing a profile does not automatically compact it.
Available beginning with FontSync 1.0.
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)