New submission from Mark Roseman:
By default, IDLE chooses courier for the text editor font.
As you'll see from the attached screenshot, while this looks ok on Windows,
it's inconsistent with the standard fixed width fonts on Linux and OS X, and
borders on unreadable particularly on the latter.
While this can be changed via the configuration dialog (the 'fixed' versions in
the screenshots do just that), this is one of the things that really jumps out
at you the first time you run IDLE, and not in a good way.
Tk defines a font named 'TkFixedFont', which we should take advantage of
instead of hardcoding courier; details of the font can be retrieved via
tkinter.font.nametofont('TkFixedFont').actual()
Note there's a bit of an overlap here with #<20580>, but suggests that there
may be some cases where determining defaults programmatically rather than
hardcoding multiple defaults may be appropriate.
----------
components: IDLE
files: defaultfont.png
messages: 247549
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: Better default font for editor
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file40048/defaultfont.png
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24745>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com