/* * 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 #include #include namespace OpenVulkano { /** * This class is only to look up installed system fonts. * For a more extended font lookup, please use the FontResolver.hpp */ class SystemFontResolver { public: [[nodiscard]] static const std::filesystem::path& GetSystemFontPath(const std::string& fontName); private: static std::map ReadSystemFonts(); }; }