Instance Method
needsUpdateRenamedGlyphs(_:)needsUpdateRenamedGlyphs:needsUpdateRenamedGlyphs_
The kinds of references affected by renamed glyphs.
Declaration
func needsUpdateRenamedGlyphs(_ renamedGlyphs: [String : String]) -> [String]Declaration
- (NSArray<NSString *> *) needsUpdateRenamedGlyphs:(NSDictionary<NSString *,NSString *> *) renamedGlyphs;Declaration
needsUpdateRenamedGlyphs_(renamedGlyphs: dict[str, str]) -> list[str]Parameters
renamedGlyphsA mapping from previous glyph names to new glyph names.
Discussion
The result is empty when no metrics keys, path components, or feature code refer to the previous names.
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.
Notifies the font that a glyph name has changed.
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.