public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Python idle - font size for menu and help
@ 2011-11-05 14:12 Hartmut Figge
  2011-11-05 15:27 ` Albert W. Hopkins
  0 siblings, 1 reply; 5+ messages in thread
From: Hartmut Figge @ 2011-11-05 14:12 UTC (permalink / raw
  To: gentoo-user

Greetings,

i am just playing a bit with python and have discovered idle. For idle
to be useful the fonts have to be enlarged both for the menus and the
help window.

http://www.triffids.de/pub/screenshot/id111105.png (60 KB)

With options->Configure IDLE it was possible to set the font for the
edit window, but how can this be done for menus and help?

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Python idle - font size for menu and help
  2011-11-05 14:12 [gentoo-user] Python idle - font size for menu and help Hartmut Figge
@ 2011-11-05 15:27 ` Albert W. Hopkins
  2011-11-05 15:55   ` [gentoo-user] " Hartmut Figge
  0 siblings, 1 reply; 5+ messages in thread
From: Albert W. Hopkins @ 2011-11-05 15:27 UTC (permalink / raw
  To: gentoo-user

On Sat, 2011-11-05 at 15:12 +0100, Hartmut Figge wrote:
> Greetings,
> 
> i am just playing a bit with python and have discovered idle. For idle
> to be useful the fonts have to be enlarged both for the menus and the
> help window.
> 
> http://www.triffids.de/pub/screenshot/id111105.png (60 KB)
> 
> With options->Configure IDLE it was possible to set the font for the
> edit window, but how can this be done for menus and help?


AFAIK IDLE uses  the Tk toolkit.  So you'll probably need to configure
the fonts for Tk (however that's done).

-a





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: Python idle - font size for menu and help
  2011-11-05 15:27 ` Albert W. Hopkins
@ 2011-11-05 15:55   ` Hartmut Figge
  2011-11-05 16:19     ` Michael Mol
  0 siblings, 1 reply; 5+ messages in thread
From: Hartmut Figge @ 2011-11-05 15:55 UTC (permalink / raw
  To: gentoo-user

Albert W. Hopkins:

>AFAIK IDLE uses  the Tk toolkit.

So it seems...

>So you'll probably need to configure the fonts for Tk

...and i have already searched for a way to do so. In vain. Would be
nice, if this could be done not alone for idle but also for other tk
applications.

>(however that's done).

*g*

A config file in /etc, in home, perhaps some lines in .Xresources...

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Re: Python idle - font size for menu and help
  2011-11-05 15:55   ` [gentoo-user] " Hartmut Figge
@ 2011-11-05 16:19     ` Michael Mol
  2011-11-06 18:01       ` Hartmut Figge
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Mol @ 2011-11-05 16:19 UTC (permalink / raw
  To: gentoo-user

On Sat, Nov 5, 2011 at 11:55 AM, Hartmut Figge <h.figge@gmx.de> wrote:
> Albert W. Hopkins:
>
>>AFAIK IDLE uses  the Tk toolkit.
>
> So it seems...
>
>>So you'll probably need to configure the fonts for Tk
>
> ...and i have already searched for a way to do so. In vain. Would be
> nice, if this could be done not alone for idle but also for other tk
> applications.
>
>>(however that's done).
>
> *g*
>
> A config file in /etc, in home, perhaps some lines in .Xresources...

That's what I was thinking. I pretty much stick with a plain xterm,
but for that to be workable on a 22" 1080p LCD, I had to adjust font
sizes.

For example, from my ~/.Xdefaults-serenity file:

*customization: -color
xterm.RenderFont.renderFont: true
xterm*faceName: terminusbold
xterm*faceSize: 10

These settings don't impact anything outside of xterm, though.

-- 
:wq



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: Python idle - font size for menu and help
  2011-11-05 16:19     ` Michael Mol
@ 2011-11-06 18:01       ` Hartmut Figge
  0 siblings, 0 replies; 5+ messages in thread
From: Hartmut Figge @ 2011-11-06 18:01 UTC (permalink / raw
  To: gentoo-user

Michael Mol:
>On Sat, Nov 5, 2011 at 11:55 AM, Hartmut Figge <h.figge@gmx.de> wrote:

[Font for IDLE]
>> A config file in /etc, in home, perhaps some lines in .Xresources...
>
>That's what I was thinking.

Inserting the next line works for me. :)

----- .Xresources -----
Idle*font: insert-suitable-font-from-xlsfonts
---------------

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-06 18:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05 14:12 [gentoo-user] Python idle - font size for menu and help Hartmut Figge
2011-11-05 15:27 ` Albert W. Hopkins
2011-11-05 15:55   ` [gentoo-user] " Hartmut Figge
2011-11-05 16:19     ` Michael Mol
2011-11-06 18:01       ` Hartmut Figge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox