Problem with standard font in assistant

Ralf Habacker ralf.habacker at
Wed Jan 5 18:47:43 CET 2005

Hi all, 

just tried assistant and saw that the default font is very small. After 
looking around I found the problem in setting QFont::defaultFamily() setting 
the system font to Helvetica. I have fixed  the problem using the MS Sans 
Serif font as system and default font. 

Are there any known problems with this ? If no I will check this in. 


$ cvs diff qfont_win.cpp
Index: qfont_win.cpp
RCS file: /cvsroot/kde-cygwin/qt-3/src/kernel/Attic/qfont_win.cpp,v
retrieving revision
diff -u -3 -p -B -r1. qfont_win.cpp
--- qfont_win.cpp       17 Oct 2004 17:26:54 -0000
+++ qfont_win.cpp       5 Jan 2005 17:41:15 -0000
@@ -431,9 +431,10 @@ QString QFont::defaultFamily() const
         return QString::fromLatin1( "Old English" );

     case QFont::Helvetica:
+        return QString::fromLatin1( "Helvetica" );
     case QFont::System:
-        return QString::fromLatin1( "Helvetica" );
+        return QString::fromLatin1( "MS Sans Serif" );

More information about the kde-cygwin mailing list