Instance Method
safeName(for:)safeNameForGlyph:safeNameForGlyph_
A name that is unique among the local glyphs in the font.
Declaration
func safeName(for glyph: GSGlyph) -> StringDeclaration
- (NSString *) safeNameForGlyph:(GSGlyph *) glyph;Declaration
safeNameForGlyph_(glyph: GSGlyph) -> strParameters
glyphThe glyph whose name to check.
Discussion
The glyph’s current name is returned unchanged when it is available or belongs to the glyph itself. Otherwise, a three-digit numeric suffix is appended.
See Also
Glyph Names
A name that is unique among the local glyphs in the font.
A suffix that makes the glyph name unique among the local glyphs in the font, or
nilwhen no suffix is needed.Makes the glyph name unique among the local glyphs in the font.
Notifies the font that a glyph name has changed.
The kinds of references affected by renamed glyphs.
Updates references to renamed glyphs after confirmation when affected references exist.
Updates references to renamed glyphs without requesting confirmation.
Returns whether OpenType feature code contains a glyph name as a complete token.