Package: kde4libs / 4:4.14.2-5+deb8u2

use_dejavu_as_default_font.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Use DejaVu Sans as default font and adjusts sizes accordingly (where
needed).
---
 kdeui/kernel/kglobalsettings.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/kdeui/kernel/kglobalsettings.cpp
+++ b/kdeui/kernel/kglobalsettings.cpp
@@ -396,7 +396,7 @@ struct KFontData
 
 // NOTE: keep in sync with kdebase/workspace/kcontrol/fonts/fonts.cpp
 static const char GeneralId[] =      "General";
-static const char DefaultFont[] =    "Sans Serif";
+static const char DefaultFont[] =    "DejaVu Sans";
 #ifdef Q_WS_MAC
 static const char DefaultMacFont[] = "Lucida Grande";
 #endif
@@ -415,7 +415,7 @@ static const KFontData DefaultFontData[K
     { GeneralId, "menuFont",    DefaultFont, 16, -1, QFont::SansSerif },
 #else
     { GeneralId, "font",        DefaultFont, 9, -1, QFont::SansSerif },
-    { GeneralId, "fixed",       "Monospace", 9, -1, QFont::TypeWriter },
+    { GeneralId, "fixed", "DejaVu Sans Mono",  9, -1, QFont::TypeWriter },
     { GeneralId, "toolBarFont", DefaultFont,  8, -1, QFont::SansSerif },
     { GeneralId, "menuFont",    DefaultFont, 9, -1, QFont::SansSerif },
 #endif