Add FontResolver

This commit is contained in:
Georg Hagen
2025-11-22 20:33:11 +01:00
parent 79b5bbf165
commit b6f2e2e16e
4 changed files with 68 additions and 24 deletions

View File

@@ -0,0 +1,19 @@
/*
* 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 "Data/Containers/Array.hpp"
#include <string>
namespace OpenVulkano
{
class FontResolver final
{
public:
[[nodiscard]] static Array<char> GetFontData(const std::string& fontName, bool checkSystemFonts = true);
};
}