[PC-BSD Commits] r1557 - pcbsd/trunk/PCInstall

svn at pcbsd.org svn at pcbsd.org
Fri Mar 7 06:40:49 PST 2008


Author: kris
Date: 2008-03-07 06:40:48 -0800 (Fri, 07 Mar 2008)
New Revision: 1557

Modified:
   pcbsd/trunk/PCInstall/main.cpp
Log:

Change font size by default in PCInstall



Modified: pcbsd/trunk/PCInstall/main.cpp
===================================================================
--- pcbsd/trunk/PCInstall/main.cpp	2008-03-06 19:21:34 UTC (rev 1556)
+++ pcbsd/trunk/PCInstall/main.cpp	2008-03-07 14:40:48 UTC (rev 1557)
@@ -32,13 +32,16 @@
     // Check if we are running in chinese, and set the font to Serif
     if ( nlang == "zh_CN" || nlang == "zh_TW" )
     {
-      QFont f( "mingunittf", 11);
+      QFont f( "mingunittf", 10);
       a.setFont( f);
     } else if (nlang == "ja" ) {
-      QFont f( "vlgothic", 11);
+      QFont f( "vlgothic", 10);
       a.setFont( f);
+    } else if (nlang == "en" || nlang == "" ) {
+      QFont f( "Sans Serif", 10);
+      a.setFont( f);
     } else {
-      QFont f( "Sans Serif", 11);
+      QFont f( "Sans Serif", 10);
       a.setFont( f);
     }
 



More information about the Commits mailing list