kCTFontNameAttribute

Static kCTFontNameAttribute 

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

kCTFontNameAttribute

The PostScript name.

This is the key for retrieving the PostScript name from the font descriptor. When matching, this is treated more generically: the system first tries to find fonts with this PostScript name. If none is found, the system tries to find fonts with this family name, and, finally, if still nothing, tries to find fonts with this display name. The value associated with this key is a CFStringRef. If unspecified, defaults to “Helvetica”, if unavailable falls back to global font cascade list.

See also Apple’s documentation