pub unsafe static kCTFontOpticalSizeAttribute: &'static CFStringAvailable on crate feature
CTFontDescriptor only.Expand description
kCTFontOpticalSizeAttribute
The point size at which this font is intended to be used.
The value is a CFNumber used to activate size-specific (not linearly scaled) metrics. Starting with macOS 10.14 and iOS 12.0, the CFString “auto” can be used instead to request an optical size matching the point size. Starting with macOS 10.15 and iOS 13.0, the CFString “none” can be used instead to explicitly disable automatic optical sizing enabled by the font.
See also Apple’s documentation