Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37768065
en ru br
ALT Linux repos
S:4.8.7-alt25
5.0: 4.5.2-alt1.M50.1
4.1: 4.4.3-alt1.M41.1
4.0: 4.3.4-alt5.M40.1
3.0: 4.0.1-alt1
+updates:4.0.1-alt2
+backports:4.2.3-alt7.1.M30

Group :: System/Libraries
RPM: qt4

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: qt-4.0.1-sans-mono.patch
Download


--- qt-x11-opensource-src-4.0.1/src/gui/text/qfontdatabase_x11.cpp~	2005-10-24 20:02:16 +0400
+++ qt-x11-opensource-src-4.0.1/src/gui/text/qfontdatabase_x11.cpp	2005-10-24 20:03:59 +0400
@@ -1135,7 +1135,7 @@ static void loadFontConfig()
     };
     const FcDefaultFont defaults[] = {
         { "Serif", "serif", false },
-        { "Sans Serif", "sans-serif", false },
+        { "Sans", "sans-serif", false },
         { "Monospace", "monospace", true },
         { 0, 0, false }
     };
@@ -1164,6 +1164,8 @@ static void loadFontConfig()
             style->smoothScalable = true;
             QtFontSize *size = style->pixelSize(SMOOTH_SCALABLE, true);
             QtFontEncoding *enc = size->encodingID(-1, 0, 0, 0, 0, true);
+	    if (f->qtname == "Monospace")
+		family->fixedPitch = TRUE;
             enc->pitch = (f->fixed ? 'm' : 'p');
         }
         ++f;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin