installation problem with fonts



Hi all,
~~~~~~~
sorry to be bothering you with this problem, I'm not quite sure whether
this is the appropriate forum to ask such a question, but I had no other
idea so here I go:

I am trying to install gtk+ on a RedHat5.1-based Linux system with kernel
2.0.33. I have installed XFree86-3.3.2. However, because I am *extremely*
short on disk space I have deleted most of the fonts that I don't usually
use.

I downloaded and compiled glib and gtk+-1.1.15, both compiled fine but
whenever I start any program using gtk+ I get the following errors: 

  /home/fbraun/incoming/gtk+-1.1.15/gtk$ ./testgtk

  Gdk-CRITICAL **: file gdkfont.c: line 115 (gdk_font_ref): assertion
  `font != NULL' failed.

  Gdk-CRITICAL **: file gdkfont.c: line 115 (gdk_font_ref): assertion
  `font != NULL' failed.
 
  Gdk-CRITICAL **: file gdkfont.c: line 115 (gdk_font_ref): assertion
  `font != NULL' failed.

  Gtk-CRITICAL **: file gtklabel.c: line 452 (gtk_label_split_text):
  assertion `GTK_WIDGET (label)->style->font != NULL' failed.
  Segmentation fault (core dumped)

It seems that Gdk doesn't find some fonts it's looking for. Which ones are
these? How can I tell Gdk/Gtk to use the fonts that I actually have
installed? Is the choice of fonts that Gdk/Gtk can use somehow restricted?

TIA
Felix




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]