kCTFontFixedAdvanceAttribute

Static kCTFontFixedAdvanceAttribute 

Source
pub unsafe static kCTFontFixedAdvanceAttribute: &'static CFString
Available on crate feature CTFontDescriptor only.
Expand description

kCTFontFixedAdvanceAttribute

Specifies advance width.

This key is used to specify a constant advance width, which affects the glyph metrics of any font instance created with this key; it overrides font values and the font transformation matrix, if any. The value associated with this key must be a CFNumberRef.

Starting with macOS 10.14 and iOS 12.0, this only affects glyph advances that have non-zero width when this attribute is not present.

See also Apple’s documentation