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@13422 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed May 4, 2010
1 parent 7479708 commit a25fc30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/console.py
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 a25fc30

Please sign in to comment.