Update SystemFontResolver to std::filesystem::path

This commit is contained in:
Georg Hagen
2025-11-21 20:26:11 +01:00
parent 2e36bd2ca1
commit 79b5bbf165
5 changed files with 42 additions and 26 deletions

View File

@@ -9,13 +9,13 @@
namespace OpenVulkano
{
const std::string& SystemFontResolver::GetSystemFontPath(const std::string& fontName)
const std::filesystem::path& SystemFontResolver::GetSystemFontPath(const std::string& fontName)
{
static std::string fallbackString;
static std::filesystem::path fallbackString;
return fallbackString;
}
std::map<std::string, std::string> SystemFontResolver::ReadSystemFonts()
std::map<std::string, std::filesystem::path> SystemFontResolver::ReadSystemFonts()
{
return {};
}