Changing Fonts in IDLE-0.5

Jeff Stephens jsteve17 at tampabay.rr.com
Wed Feb 14 02:51:57 CET 2001


Daniel Klein wrote:

> Jeff,
>
> You got me curious about this so after a minute of digging, I found two
> files, 'config-unix.txt' and 'config-win.txt' in the '/python20/tools/idle'
> (or C:\python20\tools\idle) directory. It is in these files (depending on
> your platform) where the font size can be changed.
>
> Hope this helps,
>
> Daniel Klein
> Portland OR USA
>

I'm running on Linux, specifically, Redhat 6.2.  I don't have either of these
files.  Here are the
files in my idle-0.5 directory:

AutoExpand.py        IdleHistory.pyc        Separator.py
AutoExpand.pyc       IdlePrefs.py           StackViewer.py
AutoIndent.py        IdlePrefs.pyc          TODO.txt
AutoIndent.pyc       MultiScrolledLists.py  ToolTip.py
Bindings.py          MultiStatusBar.py      TreeWidget.py
Bindings.pyc         MultiStatusBar.pyc     UndoDelegator.py
CallTipWindow.py     NEWS.txt               UndoDelegator.pyc
CallTips.py          ObjectBrowser.py       WidgetRedirector.py
CallTips.pyc         OldStackViewer.py      WidgetRedirector.pyc
ChangeLog            OutputWindow.py        WindowList.py
ClassBrowser.py      OutputWindow.pyc       WindowList.pyc
ColorDelegator.py    PathBrowser.py         ZoomHeight.py
ColorDelegator.pyc   Percolator.py          ZoomHeight.pyc
Debugger.py          Percolator.pyc         __init__.py
Delegator.py         PyParse.py             eventparse.py
Delegator.pyc        PyParse.pyc            extend.py
EditorWindow.py      PyShell.py             extend.pyc
EditorWindow.pyc     PyShell.pyc            extend.txt
FileList.py          README.txt             help.txt
FileList.pyc         ReplaceDialog.py       idle.bat
FormatParagraph.py   ScriptBinding.py       idle.py
FormatParagraph.pyc  ScriptBinding.pyc      idle.pyw
FrameViewer.py       ScrolledList.py        idlever.py
GrepDialog.py        SearchBinding.py       idlever.pyc
IOBinding.py         SearchBinding.pyc      keydefs.py
IOBinding.pyc        SearchDialog.py        keydefs.pyc
Icons                SearchDialogBase.py    pyclbr.py
IdleHistory.py       SearchEngine.py        testcode.py

Any other ideas?


>
> "Jeff Stephens" <jsteve17 at tampabay.rr.com> wrote in message
> news:3A89A78F.C4C6B70A at tampabay.rr.com...
> > I am just starting out with Python and was trying to use idle, but the
> > fonts
> > are so small it's giving me a headache.  I followed the instructions in
> > the
> > help menu and tried editing the 'EditorWindow.py' file to no avail. I
> > commented
> > out the first line and uncommented the second as recommended: no change.
> > I tried
> > changing the sizes of both fonts to 10, 12: no change.  The only thing I
> > can figure is
> > that idle is using some default that is not reflected by either of these
> > lines. Can someone
> > help before I go blind.  Thanks.
> >
> > Regards,
> > Jeff Stephens
> >




More information about the Python-list mailing list