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.

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