aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-23 23:45:21 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-23 23:45:25 +0200
commit4690ba0cc66338b1f00e08fb6054ee95c1c0dcc6 (patch)
tree17f609546b85cb6b1243e53f66c27fd89ead91ef /include/QuickMedia.hpp
parent23dd37254cdf7479b88a7f1d711ecb5de92440e8 (diff)
Fallback to cjk font, change font to system noto sans
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 18f3a6b..03bfcb9 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -82,8 +82,9 @@ namespace QuickMedia {
sf::RenderWindow window;
int monitor_hz;
sf::Vector2f window_size;
- sf::Font font;
- sf::Font bold_font;
+ std::unique_ptr<sf::Font> font;
+ std::unique_ptr<sf::Font> bold_font;
+ std::unique_ptr<sf::Font> cjk_font;
Body *body;
Plugin *current_plugin;
sf::Texture plugin_logo;