Function

CGFontRelease

Decrements the retain count of a font.

Declaration

void CGFontRelease(CGFontRef font);

Parameters

font

The font to release.

Discussion

This function is equivalent to CFRelease, except that it does not cause an error if the font parameter is NULL.

See Also

Retaining and Releasing a CGFont Object

CGFontRetain

Increments the retain count of a font.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software