#pragma once #include #include #include #include "stb_truetype.h" class FontManager { public: bool LoadFont(const std::string& id, const std::string& path); stbtt_fontinfo* GetFont(const std::string& id); private: std::unordered_map> fontBuffers; std::unordered_map fonts; };