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.