Function

CTFontManagerCopyAvailableFontFamilyNames()

Returns an array of visible font family names sorted for user interface display.

Declaration

func CTFontManagerCopyAvailableFontFamilyNames() -> CFArray

Return Value

This function returns a retained reference to a CFArray of CFStringRef objects representing the visible font family names of the available fonts, or NULL on error. The caller is responsible for releasing the array.