Refactoring fontconfig from Resource Manager to Font Manager

This commit is contained in:
Dan Paulat 2023-09-24 01:11:04 -05:00
parent 190bd95781
commit c807188b2b
5 changed files with 206 additions and 183 deletions

View file

@ -19,7 +19,14 @@ public:
explicit FontManager();
~FontManager();
static std::shared_ptr<FontManager> Instance();
std::shared_ptr<types::ImGuiFont>
GetImGuiFont(const std::string& family,
const std::vector<std::string>& styles,
units::font_size::points<double> size);
void LoadApplicationFont(const std::string& filename);
static FontManager& Instance();
private:
class Impl;