Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)
Home

[Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: main map have gtk1.2 font problem (i18n) (PR#1606)
From: SAWADA Katsuya <ama@xxxxxxxxxxx>
Date: Fri, 28 Jun 2002 10:52:03 +0900

Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx> writes:
> I'll fix that by checking a FREECIV_NETWORK_CHARSET environment variable.
> In your case you could set that to UTF-8 or EUC-JP.

I checked out current CVS source, and compiled.

I can see correct characters in euc-jp terminal and gtk-2.0 window
with LANG=ja_JP.eucJP, and also utf8 terminal and gtk-2.0 window with
LANG=ja_JP.UTF-8. Thank you very very much.

But, You may know, when client (LANG=ja_JP.eucJP
FREECIV_NETWORK_CHARSET=UTF-8) connect server (LANG=ja_JP.UTF-8), I
get some problem. For example, I can't invoke command from client like
'/list', and I can't send any message using jisx0208 character set to
other user. (ascii character set is ok.) There is same problem using
client(LANG=ja_JP.eucJP FREECIV_NETWORK_CHARSET=EUC-JP) and
server(LANG=ja_JP.UTF-8), but this combination is better because error
message is little. Following is sample error messages.

1: received bad string in packet (type 16, len 126) from server
1: received bad string in packet (type 16, len 36) from server
1: received bad string in packet (type 83, len 22) from server
1: received bad string in packet (type 71, len 22) from server
...




>> ** (glade-2:14041): WARNING **: Cannot load font for XLFD 
>> '-kochi-gothic-medium-r-normal--8-*-*-*-*-*-jisx0201.1976-0
>
>> I am fighting to solve the font problem.
>
> Maybe it is a theme problem. I once had problems in GTK+ because KDE
> liked to automatically generate its own GTK+ theme and put it in
> ~/.gtkrc.

Now, I solved. The problems were /etc/pango/pangox.aliases and
/etc/X11/XftConfig.
Thank you.

regard.

-- 
SAWADA Katsuya


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