17#ifndef _FGE_FONT_MANAGER_HPP_INCLUDED
18#define _FGE_FONT_MANAGER_HPP_INCLUDED
20#include "FastEngine/fge_extern.hpp"
22#include "FastEngine/graphic/C_ftFont.hpp"
23#include "FastEngine/manager/C_baseManager.hpp"
25#define FGE_FONT_BAD FGE_MANAGER_BAD
43 using BaseManager::BaseManager;
46 [[nodiscard]]
bool isInitialized()
override;
47 void uninitialize()
override;
56 bool loadFromFile(std::string_view name, std::filesystem::path
const& path);
65FGE_API
void* GetFreetypeLibrary();
Manage fonts.
Definition font_manager.hpp:41
bool initialize() override
Initialize the manager.
bool loadFromFile(std::string_view name, std::filesystem::path const &path)
Load a font from a file.
Base class for all managers.
Definition C_baseManager.hpp:63
FGE_API FontManager gManager
The global font manager.
Definition font_manager.hpp:31
Definition C_baseManager.hpp:42