Contents

familyName

The family name of the font—for example, “Times” or “Helvetica.”

Declaration

var familyName: String? { get }

Discussion

This name is the one that NSFontManager uses and may differ slightly from the AFM name.

The value in this property is intended for an application’s internal usage and not for display. To get a name that you can display to the user, use the displayName property instead.

See Also

Getting Font Names