Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37536114
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: plasma5-workspace

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-def-font.patch
Скачать


--- a/kcms/fonts/fontsaasettings.cpp
+++ a/kcms/fonts/fontsaasettings.cpp
@@ -39,7 +39,7 @@ KXftConfig::SubPixel::Type defaultSubPix
 
 KXftConfig::Hint::Style defaultHinting()
 {
-    return KXftConfig::Hint::Slight;
+    return KXftConfig::Hint::Full;
 }
 }
 
@@ -223,7 +223,7 @@ public:
         xft.getHintStyle(hStyle);
         // if it is not set, we have no hinting
         if (hStyle == KXftConfig::Hint::NotSet) {
-            hStyle = KXftConfig::Hint::None;
+            hStyle = KXftConfig::Hint::Full;
         }
         setHinting(hStyle);
 
--- a/kcms/fonts/kxftconfig.cpp
+++ b/kcms/fonts/kxftconfig.cpp
@@ -149,7 +149,7 @@ static KXftConfig::SubPixel::Type strToT
     } else if (0 == strcmp(str, "none")) {
         return KXftConfig::SubPixel::None;
     } else {
-        return KXftConfig::SubPixel::NotSet;
+        return KXftConfig::SubPixel::Rgb;
     }
 }
 
@@ -162,7 +162,7 @@ static KXftConfig::Hint::Style strToStyl
     } else if (0 == strcmp(str, "hintfull")) {
         return KXftConfig::Hint::Full;
     } else {
-        return KXftConfig::Hint::None;
+        return KXftConfig::Hint::Full;
     }
 }
 
--- a/kcms/fonts/fontssettings.kcfg
+++ b/kcms/fonts/fontssettings.kcfg
@@ -11,7 +11,7 @@
       #ifdef Q_OS_MAC
       QFont generalFont = QFont("Lucida Grande", 13);
       #else
-      QFont generalFont = QFont("Noto Sans", 10);
+      QFont generalFont = QFont("Sans Serif", 9);
       generalFont.setStyleName("Regular");
       #endif
       </code>
@@ -23,7 +23,7 @@
       #ifdef Q_OS_MAC
       QFont fixedWidthFont = QFont("Monaco", 10);
       #else
-      QFont fixedWidthFont = QFont("Hack", 10);
+      QFont fixedWidthFont = QFont("Monospace", 8);
       fixedWidthFont.setStyleName("Regular");
       #endif
       </code>
@@ -35,7 +35,7 @@
       #ifdef Q_OS_MAC
       QFont smallFont = QFont("Lucida Grande", 9);
       #else
-      QFont smallFont = QFont("Noto Sans", 8);
+      QFont smallFont = QFont("Sans Serif", 7);
       smallFont.setStyleName("Regular");
       #endif
       </code>
@@ -47,7 +47,7 @@
       #ifdef Q_OS_MAC
       QFont toolBarFont = QFont("Lucida Grande", 11);
       #else
-      QFont toolBarFont = QFont("Noto Sans", 10);
+      QFont toolBarFont = QFont("Sans Serif", 9);
       toolBarFont.setStyleName("Regular");
       #endif
       </code>
@@ -59,7 +59,7 @@
       #ifdef Q_OS_MAC
       QFont menuFont = QFont("Lucida Grande", 13);
       #else
-      QFont menuFont = QFont("Noto Sans", 10);
+      QFont menuFont = QFont("Sans Serif", 9);
       menuFont.setStyleName("Regular");
       #endif
       </code>
@@ -73,7 +73,7 @@
       #ifdef Q_OS_MAC
       QFont windowTitleFont = QFont("Lucida Grande", 14);
       #else
-      QFont windowTitleFont = QFont("Noto Sans", 10);
+      QFont windowTitleFont = QFont("Sans Serif", 8);
       windowTitleFont.setStyleName("Regular");
       #endif
       </code>
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin