[QGIS Commit] r13422 - trunk/qgis/python

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue May 4 08:49:01 EDT 2010


Author: wonder
Date: 2010-05-04 08:48:59 -0400 (Tue, 04 May 2010)
New Revision: 13422

Modified:
   trunk/qgis/python/console.py
Log:
More portable selection of monospaced font


Modified: trunk/qgis/python/console.py
===================================================================
--- trunk/qgis/python/console.py	2010-05-04 09:08:56 UTC (rev 13421)
+++ trunk/qgis/python/console.py	2010-05-04 12:48:59 UTC (rev 13422)
@@ -126,7 +126,8 @@
     self.setMinimumSize(30, 30)
     self.setUndoRedoEnabled(False)
     self.setAcceptRichText(False)
-    monofont = QFont("Bitstream Vera Sans Mono", 10)
+    monofont = QFont("Monospace")
+    monofont.setStyleHint(QFont.TypeWriter)
     self.setFont(monofont)
 
     self.buffer = []



More information about the QGIS-commit mailing list