From 4690ba0cc66338b1f00e08fb6054ee95c1c0dcc6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 23 Sep 2020 23:45:21 +0200 Subject: Fallback to cjk font, change font to system noto sans --- include/QuickMedia.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/QuickMedia.hpp') 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 font; + std::unique_ptr bold_font; + std::unique_ptr cjk_font; Body *body; Plugin *current_plugin; sf::Texture plugin_logo; -- cgit v1.2.3