Instance Method
setName(_:changeName:update:validate:) setName:changeName:update:validate: setName_changeName_update_validate_
Assigns a glyph name with control over related updates.
Declaration
func setName(
_ name: String,
changeName: Bool,
update: Bool,
validate: Bool
)Declaration
- (void) setName:(NSString *) name
changeName:(BOOL) changeName
update:(BOOL) update
validate:(BOOL) validate;Declaration
setName_changeName_update_validate_(
name: str,
changeName: bool,
update: bool,
validate: bool
)Parameters
nameThe glyph name.
changeNameWhether glyph information may replace the supplied name with its standard glyph name.
updateWhether to update Unicode values and other glyph information for the name.
validateWhether a nonstandard name may be replaced with its standard glyph name even when
changeNameisNO.
Discussion
This is a low-level renaming method. Use name for general renaming.
See Also
Glyph Name
The glyph name used within Glyphs.
Assigns a glyph name and updates related glyph information.
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.
Finds the standard glyph name corresponding to a nonstandard name.
Checks whether a string follows the glyph name syntax.