Type Method

glyphInfoWithGlyph:forFont:baseString:

Instantiates and returns an NSGlyphInfo object using a glyph index and a specified font.

Declaration

+ (NSGlyphInfo *)glyphInfoWithGlyph:(NSGlyph)glyph forFont:(NSFont *)font baseString:(NSString *)string;

Parameters

glyph

The identifier of the glyph.

font

The font object to be associated with the returned NSGlyphInfo object,

theString

The part of the attributed string the returned instance is intended to override.

Return Value

The created NSGlyphInfo object or nil if the object couldn't be created.

See Also

Creating an NSGlyphInfo Object

+ glyphInfoWithCharacterIdentifier:collection:baseString:

Instantiates and returns an NSGlyphInfo object using a character identifier and a character collection.

Deprecated
+ glyphInfoWithGlyphName:forFont:baseString:

Instantiates and returns an NSGlyphInfo object using a glyph name and a specified font.

Deprecated