Skip to content

Commit

Permalink
More portable selection of monospaced font
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13422 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed May 4, 2010
1 parent 0a5a263 commit 4667ca1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def __init__(self,parent=None):
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 = []
Expand Down

0 comments on commit 4667ca1

Please sign in to comment.