Editor font in IDLE (Linux)

Martin Franklin martin.franklin at westerngeco.com
Tue Jan 23 09:32:11 EST 2001


Take a look in EditorWindow.py it has this on line 142....

        if sys.platform[:3] == 'win':
            text['font'] = ("lucida console", 8)
#            text['font'] = ("courier new", 10)
	

change it to just ...

	text['font'] = ("Courier ", 14)

or whatever font you like.....

Martin


Gilles Lenfant wrote:
> 
> Thanks...
> 
> But for deployment reasons, I need a solution that works with Python 1.5.2
> that does not run IDLE 0.6 (some Unicode constants and others).
> 
> After a quick view, hacking IDLE 0.6 to make it work with Python 1.5.2 is
> more difficult than it seemed at first.
> 
> "Simon Brunning" <SBrunning at trisystems.co.uk> a écrit dans le message news:
> mailman.980252066.30237.python-list at python.org...
> > > From: Gilles Lenfant [SMTP:glt at e-pack.net]
> > > There is no "config-unix.txt" file in any Python related directory.
> > > Perhaps you are using another IDLE version than mine (0.5).
> >
> > The file that Bryan mentioned was introduced in IDLE version 0.6. Why not
> > upgrade to that version?
> >
> > Cheers,
> > Simon Brunning
> > TriSystems Ltd.
> > sbrunning at trisystems.co.uk
> >
> >
> >
> >
> > -----------------------------------------------------------------------
> > The information in this email is confidential and may be legally
> privileged.
> > It is intended solely for the addressee. Access to this email by anyone
> else
> > is unauthorised. If you are not the intended recipient, any disclosure,
> > copying, distribution, or any action taken or omitted to be taken in
> > reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
> > accept liability for statements made which are clearly the senders own.
> >
> 
> --
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list