Skip to content

Commit a25fc30

Browse files
author
wonder
committedMay 4, 2010
More portable selection of monospaced font
git-svn-id: http://svn.osgeo.org/qgis/trunk@13422 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7479708 commit a25fc30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎python/console.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ def __init__(self,parent=None):
126126
self.setMinimumSize(30, 30)
127127
self.setUndoRedoEnabled(False)
128128
self.setAcceptRichText(False)
129-
monofont = QFont("Bitstream Vera Sans Mono", 10)
129+
monofont = QFont("Monospace")
130+
monofont.setStyleHint(QFont.TypeWriter)
130131
self.setFont(monofont)
131132

132133
self.buffer = []

0 commit comments

Comments
 (0)
Please sign in to comment.