Re: [gtk-list] GTK not working remotely




Hi Richard,

You want to try something simpler than setting up a
fontserver. I ran into a really similar problem about a 
week ago. I had a deficient FontPath in my XF86Config which 
was causing all my Gtk apps to fail with messages similar to 
the ones you're receiving.

I fixed it by fixing my FontPath, but Owen Taylor said that
he put a fix into Gtk for handling this situation more
gracefully. Judging by the changes listed for Gtk+ 1.1.16,
I'd say that the fix is in there. ("Handle systems where 
Helvetica is not present more gracefully")

So you might see if you can add some entries to your FontPath,
mine looks like:

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"

or try using Gtk+ 1.1.16.


Adam


On Wed, 17 Feb 1999, Richard Mitchell wrote:

> I haven't found this in the docs and I don't seem
> able to access the archives so forgive if this is
> blatantly obvious. I'm trying to run a GTK app
> remotely but it doesn't seem to work.
> 
> xclock works fine, but even the example menu
> program comes back with a failure.
> 
> The output is...
> ** WARNING **: file gdkfont.c: line 115 (gdk_font_ref): "font != NULL"
> 
> ** WARNING **: file gdkfont.c: line 207 (gdk_string_width): "font != NULL"
> 
> ** ERROR **: sigsegv caught
> 
> The program works on the local machine however.
> Anybody have any ideas?
> 
> Richard J Mitchell (Software Engineer)
> CeNeS Ltd.
> mailto:Richard.Mitchell@cenes.co.uk
> http://www.cenes.com/
> Tel: +44 (0) 1223 266466		Fax: +44(0) 1223 266467
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 



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