|
Fray Engine
|
Functions | |
| void | sortFamilies (std::vector< std::string > &families) |
| Sorts family names ignoring case and removes duplicates. | |
| std::vector< std::string > | installedFamilies () |
| Lists the font families installed on this computer. Safe to call from any thread; it can take a while, so call it off the message thread. macOS asks CoreText and Windows enumerates through GDI; other platforms return an empty list. | |
|
inline |
Lists the font families installed on this computer. Safe to call from any thread; it can take a while, so call it off the message thread. macOS asks CoreText and Windows enumerates through GDI; other platforms return an empty list.
Definition at line 74 of file system_fonts.hpp.
|
inline |
Sorts family names ignoring case and removes duplicates.
| families | Family names in any order; changed in place. |
Definition at line 25 of file system_fonts.hpp.