Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] Re: (PR#15166) cannot run XAW client: unavailable fontset
Home

[Freeciv-Dev] Re: (PR#15166) cannot run XAW client: unavailable fontset

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#15166) cannot run XAW client: unavailable fontset
From: "Egor Vyscrebentsov" <evyscr@xxxxxxxxx>
Date: Wed, 8 Feb 2006 00:53:46 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15166 >

On Tue, 7 Feb 2006 22:39:34 -0800
Daniel Markstedt <himasaram AT spray.se> wrote:

> > [evyscr - Mon Jan 16 22:12:25 2006]:
> > 
> > On Sat, 14 Jan 2006 18:51:26 -0800
> > Jason Short wrote:
> > 
> > > If I try to run the XAW client I get:
> > > 
> > > jdorje@devon:~/src/freeciv/freeciv$ ./civ
> > > 1: Unimplemented set_city_names_font_sizes.
> > > 2: Using fallback resources - which is OK
> > > 0: Unable to open fontset: -*-*-*-*-*--14-*
> > > 
> > > this is probably related to a library switch: instead of xfree86 
> > > libraries I now have xorg libs.
> >
> > $ locale
> > , please.
> >
> > (Because it works on my non-utf8 locale with
> > $ rpm -q xorg-x11-server
> > xorg-x11-server-6.8.99.902-alt1
> > $ locale
> > LANG=ru_RU.KOI8-R )
> >
> The same error prevents me too from running the XAW client.
>
> en_US.UTF-8
> xserver-xorg_6.8.2-77

Hm, strange, but it works for me even on ru_RU.UTF-8.
Will look for en_US at evening.

PS Could attached patch help?

--- client/gui-xaw/gui_main.c.orig      2006-01-30 14:20:27 +0300
+++ client/gui-xaw/gui_main.c   2006-02-08 11:49:31 +0300
@@ -361,9 +361,9 @@
     values.graphics_exposures = False;
     civ_gc = XCreateGC(display, root_window, GCGraphicsExposures, &values);
 
-    city_names_font = mystrdup("-*-*-*-*-*--14-*");
+    city_names_font = mystrdup("-*-*-*-*-*-*-14-*");
 
-    city_productions_font_name = mystrdup("-*-*-*-*-*--14-*");
+    city_productions_font_name = mystrdup("-*-*-*-*-*-*-14-*");
 
     main_font_set = XCreateFontSet(display, city_names_font,
        &missing_charset_list_return,

[Prev in Thread] Current Thread [Next in Thread]