Instance Method

createPostScriptEncoding(encoding:)

Creates a PostScript encoding of a font.

Declaration

func createPostScriptEncoding(encoding: UnsafePointer<CGGlyph>?) -> CFData?

Parameters

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

var postScriptName: CFString?

Obtains the PostScript name of a font.

func canCreatePostScriptSubset(CGFontPostScriptFormat) -> Bool

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

enum CGFontPostScriptFormat

Possible formats for a PostScript font subset.