Contents

kCMTextMarkupAttribute_GenericFontFamilyName

A generic font family name identifier.

Declaration

let kCMTextMarkupAttribute_GenericFontFamilyName: CFString

Discussion

This attribute’s value must be one of the constants listed below. You need to map generic fonts to the family name of an installed font before rendering and/or measuring text (see Media Accessibility).

When the system specifies legible output, an attributed string has at most one of kCMTextMarkupAttribute_FontFamilyName or kCMTextMarkupAttribute_GenericFontFamilyName associated with each character.

Topics

Font Names

See Also

Fonts