kCTFontWidthTrait

Static kCTFontWidthTrait 

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

kCTFontWidthTrait

Dictionary key to access the width (condense/expand) trait value.

Use this key to access the normalized proportion trait from the font traits dictionary. This value corresponds to the relative inter-glyph spacing for a given font. The value returned is a CFNumberRef representing a float between -1.0 and 1.0. The value of 0.0 corresponds to regular glyph spacing while negative values represent condensed glyph spacing.

See also Apple’s documentation