filteredLanguagesPredicate
A predicate to filter fonts based on the languages they support.
Declaration
@NSCopying var filteredLanguagesPredicate: NSPredicate? { get set }Discussion
By default, the font picker shows all available fonts, regardless of the languages they support. You may prefer to offer only fonts that support certain languages. To restrict the list, set this property to an NSPredicate defining the logic the font picker should apply to the fonts’ supported languages metadata.
Use language specifiers in the same format CFLocale uses to specify languages in a filter predicate. You can use filterPredicate(forFilteredLanguages:) to construct a simple predicate that excludes fonts which don’t support any of a collection of languages you specify.