Instance Method
defaultFontMaster(_:)defaultFontMaster:defaultFontMaster_
Returns the master used as the default interpolation origin.
Declaration
func defaultFontMaster(_ instance: GSInstance?) -> GSFontMasterDeclaration
- (GSFontMaster *) defaultFontMaster:(GSInstance *) instance;Declaration
defaultFontMaster_(instance: GSInstance) -> GSFontMasterDiscussion
A Variable Font Origin custom parameter on the instance is preferred. If none is available, the font-level Variable Font Origin custom parameter is used. If no origin can be resolved, the first master is used.
See Also
Masters
The local masters of the font.
The number of local masters.
Returns the local or imported master at an index, or
nilwhen the index is out of bounds.The index of a local master, or
nilwhen the master is not in the font.Returns the local or imported master with an identifier, or
nilwhen no master matches.Returns the first local or imported master with a name, or
nilwhen no master matches.Returns an unused master identifier.
Inserts a local master without adding layer content.
Appends a local master without adding layer content.
Removes a local master without removing layer content.
See Also
Masters
The local masters of the font.
The number of local masters.
Returns the local or imported master at an index, or
nilwhen the index is out of bounds.Returns the index of a local master, or
NSNotFoundwhen the master is not local.Returns the local or imported master with an identifier, or
nilwhen no master matches.Returns the first local or imported master with a name, or
nilwhen no master matches.Returns an unused master identifier.
Inserts a local master without adding layer content.
Appends a local master without adding layer content.
Removes a local master without removing layer content.