A comparator function to compare font family names and sort them according to Apple guidelines.
- macOS 10.6+
- Core Text
The first localized font family name to compare, as a
The second localized font family name to compare, as a
Unused. Can be
CFComparison value indicating the sort order for the two family names.
family1 is greater than
family1 is less than
k if they are equal.
CFComparator function compares font family names and sorts them in the Apple preferred order, accounting for foundry prefix. Family names with recognized prefixes are sorted after the unprefixed names in prefix order.