[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name
Terry J. Reedy
report at bugs.python.org
Mon Feb 10 20:13:25 EST 2020
Terry J. Reedy <tjreedy at udel.edu> added the comment:
font.names() lists 'symbolic' family names guaranteed to exist. 'TkDefaultFont' is the default Text widget font on a particular OS. IDLE replaces that with 'TkFixedFont', which is translated to the actual family name on each OS: Courier on Windows (ugh) and something like Monaco on macOS.
Thank you for the additional information. For *nix users, removing the useless duplicates should be an improvement. (This is aside from the test issue, which could have been fixed otherwise: perhaps by inserting 'TestFont' at the top of the list and making other adjustments.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39600>
_______________________________________
More information about the Python-bugs-list
mailing list