Instance Method
setPlainMetricsKey(_:side:) setPlainMetricsKey:side: setPlainMetricsKey_side_
Sets the glyph-level metrics key for a metric side.
Declaration
func setPlainMetricsKey(_ key: String?, side: GSMetricNumbers)Declaration
- (void) setPlainMetricsKey:(NSString *) key side:(GSMetricNumbers) side;Declaration
setPlainMetricsKey_side_(key: str, side: GSMetricNumbers)Parameters
keyThe metrics key, or
nilto remove it.sideThe metric side whose key should be changed.
Discussion
Layer-specific metrics keys continue to override this value.
See Also
Metrics Keys
Glyph-level metrics key for the left side bearing.
Glyph-level metrics key for the advance width.
Glyph-level metrics key for the right side bearing.
Glyph-level metrics key for the top side bearing.
Glyph-level metrics key for the vertical origin.
Glyph-level metrics key for the vertical advance width.
Glyph-level metrics key for the bottom side bearing.
The stored glyph-level metrics key for a metric side, or
nilwhen none is set.Validates the syntax of a proposed metrics key.