threads / discuss / 5206

Tiny default fonts in gitk

Subject: Tiny default fonts in gitk

## tl;dr

2 messages between Aug 11, 2006 and Aug 23, 2006.

replies: 1people: 2as markdown or json

Peter Eriksen· Aug 11, 2006, 10:07 UTC · lore
Hi list,

I find the default font for gitk too small to be readable on my 1280x800 pixels resolution. This is an extract from the file, .gitk, that gitk initially creates:

set mainfont {Helvetica 9} set textfont {Courier 9} set uifont {Helvetica 9 bold}

Is it just some X/Tk setting causing this, or is point 9 just very small? This is under Fedora Core 5. Changing these sizes to 12 gives the text the same size as in the rest of the desktop. It would be nice, if that was the default.

Regards,
Peter
Paul Mackerras· Aug 23, 2006, 06:37 UTC · re: Peter Eriksen · lore

Re: Tiny default fonts in gitk

Peter Eriksen writes:
> Is it just some X/Tk setting causing this, or is point 9 just very
> small?  This is under Fedora Core 5.  Changing these sizes to 12 gives
> the text the same size as in the rest of the desktop.  It would be nice,
> if that was the default.

First, check what X thinks your display resolution (dots per inch) is. If it thinks the resolution is 75dpi but your monitor is doing more like 100dpi that will make the fonts small.

Secondly, you can use control -KP+ and control-KP- to change the font size.

Paul.

← back to recent threads