##// END OF EJS Templates
Add notes about configurability of font details and Win32 defaults.
Fernando Perez -
Show More
@@ -378,7 +378,14 b' class ConsoleWidget(QtGui.QWidget):'
378 def reset_font(self):
378 def reset_font(self):
379 """ Sets the font to the default fixed-width font for this platform.
379 """ Sets the font to the default fixed-width font for this platform.
380 """
380 """
381 # FIXME: font family and size should be configurable by the user.
382
381 if sys.platform == 'win32':
383 if sys.platform == 'win32':
384 # Fixme: we should test whether Consolas is available and use it
385 # first if it is. Consolas ships by default from Vista onwards,
386 # it's *vastly* more readable and prettier than Courier, and is
387 # often installed even on XP systems. So we should first check for
388 # it, and only fallback to Courier if absolutely necessary.
382 name = 'Courier'
389 name = 'Courier'
383 elif sys.platform == 'darwin':
390 elif sys.platform == 'darwin':
384 name = 'Monaco'
391 name = 'Monaco'
General Comments 0
You need to be logged in to leave comments. Login now