Function

CGFontCreatePostScriptEncoding

Creates a PostScript encoding of a font.

Declaration

CFDataRef CGFontCreatePostScriptEncoding(CGFontRef font, const CGGlyph *encoding);

Parameters

font

A CGFont object.

encoding

The encoding to use.

Return Value

A PostScript encoding of the font that contains glyphs in the specified encoding.

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.

CGFontCanCreatePostScriptSubset

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

CGFontCreatePostScriptSubset

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