Use fonts defined by text settings for rendering

This commit is contained in:
Dan Paulat 2023-10-08 09:02:28 -05:00
parent e37e64b3f2
commit 11ea4676cf
5 changed files with 47 additions and 79 deletions

View file

@ -5,6 +5,7 @@
#include <shared_mutex>
#include <QFont>
#include <QObject>
namespace scwx
@ -37,6 +38,8 @@ public:
void LoadApplicationFont(const std::string& filename);
void InitializeFonts();
static QFont GetQFont(types::FontCategory fontCategory);
static FontManager& Instance();
private: