Function CE::Text::select_default_system_font
Defined in File fonts-system.h
Function Documentation
-
std::optional<std::filesystem::path> CE::Text::select_default_system_font(const std::vector<std::filesystem::path> &fonts)
Declaration:
[[nodiscard]]Choose a candidate by the filename preference order documented in docs/site/assets/file-and-font-discovery.md.
Filename matching ignores case; equal preferred names use the supplied order. Without a preferred name, return the minimum path; an empty list returns nullopt. No I/O, font-family inspection or load-failure fallback is performed. The path is an owned copy.