diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index 00c549969..b93d55c17 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -27,25 +27,6 @@ using namespace Process; Launcher::MainDialog::MainDialog(QWidget *parent) : mGameSettings(mCfgMgr), QMainWindow (parent) { - // Install the stylesheet font - QFile file; - QFontDatabase fontDatabase; - - const QStringList fonts = fontDatabase.families(); - - // Check if the font is installed - if (!fonts.contains("EB Garamond")) { - - QString font = QString::fromUtf8(mCfgMgr.getGlobalDataPath().string().c_str()) + QString("resources/mygui/EBGaramond-Regular.ttf"); - file.setFileName(font); - - if (!file.exists()) { - font = QString::fromUtf8(mCfgMgr.getLocalPath().string().c_str()) + QString("resources/mygui/EBGaramond-Regular.ttf"); - } - - fontDatabase.addApplicationFont(font); - } - setupUi(this); mGameInvoker = new ProcessInvoker(); diff --git a/files/ui/playpage.ui b/files/ui/playpage.ui index 1d529e2d7..f5537ccd1 100644 --- a/files/ui/playpage.ui +++ b/files/ui/playpage.ui @@ -44,7 +44,6 @@ border-radius: 2px; font-size: 12pt; - font-family: "EB Garamond", "EB Garamond 08"; color: black; } @@ -95,7 +94,6 @@ #profileLabel { font-size: 18pt; - font-family: "EB Garamond", "EB Garamond 08"; color: black; } @@ -133,7 +131,6 @@ stop:1 rgba(0, 0, 0, 100)); font-size: 26pt; - font-family: "EB Garamond", "EB Garamond 08"; color: black; border-right: 1px solid rgba(0, 0, 0, 155);