Descenders and fonts in Idle
Jon K Hellan
hellan at acm.org
Wed Feb 23 04:09:51 EST 2000
Jon K Hellan <hellan at acm.org> writes:
> "Robert Hicks" <rhicks at rma.edu> writes:
>
> > you want to edit EditorWindow.py:
> >
> > if sys.platform[:3] == 'win':
> > text['font'] = ("verdana", 10)
> > # text['font'] = ("courier new", 10)
> >
>
> Thanks. That doues it. Actually:
>
> if sys.platform[:3] == 'win':
> text['font'] = ("lucida console", 10)
> else:
> text['font'] = ("lucida typewriter", 12)
Well, to get the font I use in Emacs, that should be
"lucidatypewriter", 10
A small bug: The lines are too densely spaced too make room for the
descenders of the characters.
Jon
More information about the Python-list
mailing list