made fonts available without installing system-wide

This commit is contained in:
TomTkacz
2025-03-12 04:48:33 -05:00
parent 6b0d311dc9
commit ee4cf2d7b4
4 changed files with 56 additions and 7 deletions
+2
View File
@@ -15,6 +15,7 @@
#include <data/locale.hpp>
#include <data/installer.hpp>
#include <data/format/formats.hpp>
#include <data/font.hpp>
#include <cli/cli_main.hpp>
#include <cli/text_io_handler.hpp>
#include <gui/welcome_window.hpp>
@@ -86,6 +87,7 @@ int MSE::OnRun() {
// Platform friendly appname
SetAppName(_("magicseteditor"));
#endif
Font::PreloadResourceFonts();
wxInitAllImageHandlers();
wxFileSystem::AddHandler(new wxInternetFSHandler); // needed for update checker
wxSocketBase::Initialize();