Declaration

var id: String { get set }

Declaration

@property (nonatomic, strong) NSString * id;

Declaration

pyobjc_instanceMethods.id() -> str
pyobjc_instanceMethods.setId_(id: str)

Discussion

The identifier is unique among the glyphs in a font and is used by kerning and identifier-based lookup. It exists only at runtime and is regenerated when the glyph is loaded. Do not use it to refer to a glyph across font sessions. Renaming the glyph does not change this identifier. Adding a glyph to a font replaces a missing or duplicate identifier. Do not change the identifier while the glyph belongs to a font because existing references are not updated.

See Also

ID

  • The current index in the containing font’s glyph collection.