NOISSUE Change default font on Windows to Courier size 10

This commit is contained in:
Petr Mrázek 2014-12-03 21:48:27 +01:00
parent 5af1f0cf50
commit 28140b1db6

View File

@ -378,8 +378,10 @@ void MultiMC::initGlobalSettings(bool test_mode)
m_settings->registerSetting("LastUsedGroupForNewInstance", QString()); m_settings->registerSetting("LastUsedGroupForNewInstance", QString());
QString defaultMonospace; QString defaultMonospace;
int defaultSize = 11;
#ifdef Q_OS_WIN32 #ifdef Q_OS_WIN32
defaultMonospace = "Lucida Console"; defaultMonospace = "Courier";
defaultSize = 10;
#elif defined(Q_OS_MAC) #elif defined(Q_OS_MAC)
defaultMonospace = "Menlo"; defaultMonospace = "Menlo";
#else #else
@ -404,7 +406,7 @@ void MultiMC::initGlobalSettings(bool test_mode)
// in test mode, we don't have UI, so we don't do any font resolving // in test mode, we don't have UI, so we don't do any font resolving
m_settings->registerSetting("ConsoleFont", defaultMonospace); m_settings->registerSetting("ConsoleFont", defaultMonospace);
} }
m_settings->registerSetting("ConsoleFontSize", 11); m_settings->registerSetting("ConsoleFontSize", defaultSize);
// FTB // FTB
m_settings->registerSetting("TrackFTBInstances", false); m_settings->registerSetting("TrackFTBInstances", false);