23 lines
477 B
C++
23 lines
477 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
namespace OpenVulkano
|
|
{
|
|
class SystemFontResolver
|
|
{
|
|
public:
|
|
static const std::string& GetSystemFontPath(const std::string& fontName);
|
|
|
|
private:
|
|
static std::map<std::string, std::string> ReadSystemFonts();
|
|
};
|
|
}
|