Function

CTGlyphInfoCreateWithCharacterIdentifier

Creates an immutable glyph info object with a character identifier.

Declaration

CTGlyphInfoRef CTGlyphInfoCreateWithCharacterIdentifier(CGFontIndex cid, CTCharacterCollection collection, CFStringRef baseString);

Parameters

cid

A character identifier.

collection

A character collection identifier.

baseString

The part of the string the returned object is intended to override.

Return Value

A valid reference to an immutable CTGlyphInfo object if glyph info creation was successful; otherwise, NULL.

Discussion

This function creates an immutable glyph info object for a character identifier and a character collection.

See Also

Creating GlyphInfo Objects

CTGlyphInfoCreateWithGlyphName

Creates an immutable glyph info object with a glyph name.

CTGlyphInfoCreateWithGlyph

Creates an immutable glyph info object with a glyph index.