Instance Method
glyphHasChangedName(_:oldName:) glyphHasChangedName:oldName: glyphHasChangedName_oldName_
Notifies the font that a glyph name has changed.
Declaration
func glyphHasChangedName(_ glyph: GSGlyph, oldName: String?)Declaration
- (void) glyphHasChangedName:(GSGlyph *) glyph oldName:(NSString *) oldName;Declaration
glyphHasChangedName_oldName_(glyph: GSGlyph, oldName: str)Parameters
glyphThe glyph whose name changed.
oldNameThe previous glyph name, or
nilwhen the glyph did not have a name.
Discussion
Call this method after changing a glyph name without using the regular glyph-name API.
See Also
Glyph Names
A name that is unique among the local glyphs in the font.
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.
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.