Editor font in IDLE (Linux)

Gilles Lenfant glenfant at equod.com.nospam
Wed Jan 24 08:17:01 EST 2001


Martin,

This works only with Windows IDLE.
I removed :
         if sys.platform[:3] == 'win':
and tried different valid font names in:
text['font'] = ...

This seems to be completely ignored in Linux because IDLE always shows the
same ugly little font.

"Martin Franklin" <martin.franklin at westerngeco.com> a écrit dans le message
news: mailman.980260346.3483.python-list at python.org...
> Take a look in EditorWindow.py it has this on line 142....
>
>             text['font'] = ("lucida console", 8)
> #            text['font'] = ("courier new", 10)
>
>
> change it to just ...
>
> text['font'] = ("Courier ", 14)
>
> or whatever font you like.....
>
> Martin
>





More information about the Python-list mailing list