#include <algorithm>
#include <cctype>
#include <string>
#include <vector>
Go to the source code of this file.
|
| void | fray::fonts::sortFamilies (std::vector< std::string > &families) |
| | Sorts family names ignoring case and removes duplicates.
|
| std::vector< std::string > | fray::fonts::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.
|