Group :: Terminals
RPM: kde5-konsole
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-def-font.patch
Download
Download
--- a/src/profile/Profile.cpp
+++ b/src/profile/Profile.cpp
@@ -153,6 +153,10 @@ void Profile::fillTableWithDefaultNames(
void Profile::useFallback()
{
+ QFont sys_font(QFontDatabase::systemFont(QFontDatabase::FixedFont));
+ // sys_font.pointSize()
+ QFont def_font(QStringLiteral("Monospace"), sys_font.pointSize()+1);
+
// Fallback settings
setProperty(Name, i18nc("Name of the default/builtin profile", "Default"));
setProperty(UntranslatedName, QStringLiteral("Default"));
@@ -180,7 +184,7 @@ void Profile::useFallback()
setProperty(KeyBindings, QStringLiteral("default"));
setProperty(ColorScheme, QStringLiteral("Breeze"));
- setProperty(Font, QFontDatabase::systemFont(QFontDatabase::FixedFont));
+ setProperty(Font, def_font);
setProperty(HistoryMode, Enum::FixedSizeHistory);
setProperty(HistorySize, 1000);