Function

CGFontCanCreatePostScriptSubset

Determines whether Core Graphics can create a subset of the font in PostScript format.

Declaration

bool CGFontCanCreatePostScriptSubset(CGFontRef font, CGFontPostScriptFormat format);

Parameters

font

A font object.

format

A PostScript font format.

Return Value

Returns true if a subset in the PostScript format can be created for the font; false otherwise.

Discussion

For more information on PostScript format, see Adobe Type 1 Font Format, which is available from http://partners.adobe.com/.

See Also

Working With PostScript Fonts

CGFontCopyPostScriptName

Obtains the PostScript name of a font.

CGFontCreatePostScriptSubset

Creates a subset of the font in the specified PostScript format.

CGFontCreatePostScriptEncoding

Creates a PostScript encoding 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