Instance Method
normalizedLocationsDefaultMaster(_:masterIds:glyph:) normalizedLocationsDefaultMaster:masterIds:glyph:error: normalizedLocationsDefaultMaster_masterIds_glyph_error_
Returns normalized design-space locations for selected masters and Intermediate layers.
Declaration
func normalizedLocationsDefaultMaster(_ defaultMaster: GSFontMaster, masterIds: [String], glyph: GSGlyph?) throws -> [[OTAxisTag : NSNumber]]Declaration
- (NSArray<NSDictionary<NSString *,NSNumber *> *> *) normalizedLocationsDefaultMaster:(GSFontMaster *) defaultMaster masterIds:(NSArray<NSString *> *) masterIds glyph:(GSGlyph *) glyph error:(NSError **) error;Declaration
normalizedLocationsDefaultMaster_masterIds_glyph_error_(defaultMaster: GSFontMaster, masterIds: list[str], glyph: GSGlyph) -> tuple[list[NSDictionary<NSString *,NSNumber *>], NSError]Parameters
defaultMasterThe master that defines the zero location.
masterIdsMaster and layer identifiers to include.
glyphThe glyph whose Intermediate layers are included, or
nilto use only masters.
Parameters
defaultMasterThe master that defines the zero location.
masterIdsMaster and layer identifiers to include.
glyphThe glyph whose Intermediate layers are included, or
nilto use only masters.errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Discussion
Locations are keyed by OpenType axis tag. The default master defines the zero location. Active Intermediate layers of the glyph are included when their layer identifiers are listed in masterIds.