Global Variable

kCMTextMarkupAttribute_FontFamilyName

The name of the font.

Declaration

let kCMTextMarkupAttribute_FontFamilyName: CFString

Discussion

Value must be a CFString holding the family name of an installed font (for example, "Helvetica") that is used to render and/or measure text.

When vended by legible output, an attributed string will have at most one of kCMTextMarkupAttribute_FontFamilyName or kCMTextMarkupAttribute_GenericFontFamilyName associated with each character.