Instance Method
ensureValidName(_:)ensureValidName:ensureValidName_
Finds the standard glyph name corresponding to a nonstandard name.
Declaration
func ensureValidName(_ name: String) -> String?Declaration
- (NSString *) ensureValidName:(NSString *) name;Declaration
ensureValidName_(name: str) -> strParameters
nameA name containing characters that are not valid in glyph names.
Return Value
The corresponding standard name, or nil when no replacement is known.
See Also
Glyph Name
The glyph name used within Glyphs.
Assigns a glyph name and updates related glyph information.
Assigns a glyph name with control over related updates.
Assigns a glyph name without updating related state.
Assigns a glyph name and updates name lookup in the containing font.
The glyph name used within Glyphs, with font references updated when it changes.
Assigns a glyph name and updates references to the old glyph name within the font.
Checks whether a glyph name can be assigned to the receiver.
Checks whether a string follows the glyph name syntax.