Re: font != NULL problem
- From: Owen Taylor <otaylor gtk org>
- To: soul <soul altern com>
- Cc: gtk-list redhat com
- Subject: Re: font != NULL problem
- Date: 25 Apr 1998 16:04:49 -0400
soul <soul@altern.com> writes:
> I am trying to install gtk+-0.99.10 on my RedHat 4.0 box.
>
> ./configure
> make all
> make install
>
> everything is OK
>
> But when I test, things goes wrong ..
>
> root : atlas : /temp $ ./testselection
>
> ** WARNING **: file gdkfont.c: line 114 (gdk_font_ref): "font != NULL"
[ etc. ]
This means that the default font is not being found on your system.
The default GTK font is
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
[ That probably should be changed to
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1
but that only restricts the choice of fonts further, so isn't
your problem
]
You can test this out independent of GTK, by trying the command:
xfd -fn -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
Since this is a quite standard font, its absence on your system
might indicate a problem with the font path in your XF86Config.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]