How can i configure font size in gitk?

git, gitk, linux

Solution

You can configure the font and font size in either:

- `~/.config/git/gitk` or

- `~/.gitk`

Example:

set mainfont {Monaco 10}
set textfont {Monaco 10}
set uifont {Monaco 10}

You can also do it through the tool itself:

- Open menu `Edit/Preferences`

- Click `Fonts`

- Click for example `Main font` to set the properties of the main font

Problem

Using Linux, how can i configure font and font size in gitk? Looking through the menus can be quite frustrating as they offer very little configuration possibilities.

Original source