git gui: assertion "font != NULL" failed

Jon Turney jon.turney@dronecode.org.uk
Mon Oct 19 14:54:00 GMT 2015


On 16/10/2015 19:29, Yaakov Selkowitz wrote:
> On Fri, 2015-10-16 at 17:09 +0000, Matt Seitz (matseitz) wrote:
>> A few days ago, I ran Setup to update my currently installed package, including my git packages.  Since then, whenever I run git gui, I get the following error:
>>
>> $ git gui
>> assertion "font != NULL" failed: file "/usr/src/ports/fontconfig/fontconfig-2.11.1-3.x86_64/src/fontconfig-2.11.1/src/fcmatch.c", line 453, function: FcFontRenderPrepare
>> error: git-gui died of signal 6
>>
>> cygcheck and xwin logs attached
>
> You don't have any Fontconfig-controlled fonts installed on your system.
> On mine, the default seems to be dejavu-fonts, so try installing that,
> although xorg-x11-fonts-Type1 might work as well.

The dependency chain is git-gui -> gitk -> font-adobe-dpi75

It doesn't look like the fonts in xorg-x11-fonts-Type1 are available to 
fontconfig, so I've changed the dependency of gitk to dejavu-fonts on 
sourceware.

Adam,

You might wish to update your local setup.hint and/or select a better 
default.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list