This is the mail archive of the
mailing list for the Cygwin project.
Re: git gui menu fonts are too small, unreadable
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin at cygwin dot com
- Cc: jeff dot buckles-cygwin at bookloaf dot net
- Date: Mon, 20 Jun 2016 13:56:12 +0100
- Subject: Re: git gui menu fonts are too small, unreadable
- Authentication-results: sourceware.org; auth=none
- References: <b80c6b69-a080-0357-111f-5a82eb2f4c43 at bookloaf dot net>
- Reply-to: cygwin at cygwin dot com
On 07/06/2016 23:31, Jeff Buckles wrote:
Menu fonts in 'git gui' are too small to be readable
(only one or two pixels high). "gitk" works fine.
Thanks for reporting this problem.
I was able to reproduce this problem, with a fresh installation, but
only on x86, not on x86_64
It seems that default font used by git gui is '0pt DejaVu Sans', where
0pt has a special meaning in Tcl/Tk of 'a platform-dependent default
size' , which is 12 pt for on X11.
There seems to be a bug somewhere in Tcl/Tk (or perhaps in the 'git gui'
script), so that on x86, the size attribute it ends asking fontconfig
for is INT_MIN, not 0.
It also seems that fontconfig has recently changed it the way it handles
this invalid value, now giving you a very tiny font.
Until we have a solution, you can work around this by setting the font
to have a definite size in ~/.gitconfig, e.g. adding
fontui = -family \"DejaVu Sans\" -size 12 -weight normal -slant roman -underline 0 -overstrike 0
Volunteer Cygwin/X X Server maintainer
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple