It is as the message said: check the font directory permission,
check that it has a fonts.dir, and check your font server address and
syntax. It is the last one.
cxterm was written a long time before font server became popular.
RH9 ships a font server as default, and you need to add
/usr/X11R6/share/cxterm/fonts/ to the font server's font path.
It is somewhere under /etc/X11 - "man xfs" (=X font server) for details.
Yes, I did use cxterm in the big5 personally under RH9 until last summer
so I know it works. (I have since upgrade to fedora 2 and then fedora 3,
and cxterm works fine there also with both GB and Big5. If you have been
to our project web site, you'd know I had a bit of problem with fedora
2 and needed to port the unix98 change from xterm main to cxterm, and
you'd need that if you upgrade).
Franky Lau wrote:
> Hi All,
> i have installed cxterm 5.2.3 in my RH9 machine, it works fine with GB. however when i use "cxterm -b5", it give the following errors.
>
> [root@rh9 www]# cxterm -b5
> xset: bad font path element (#58), possible causes are:
> Directory does not exist or has wrong permissions
> Directory missing fonts.dir
> Incorrect font server address or syntax
> cxtermb5: unable to open font "hku16et", trying "cclib16st"....
> cxtermb5: unable to locate a suitable Chinese font
>
> i have run "make install-fonts", and i found a new directory created in /usr/X11R6/share/cxterm/fonts/
> but when i type "xlsfonts | grep hk", nothing return.
> and when find BG font, "xlsfonts | grep gb"
> it return :
> -isas-fangsong ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
> -isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
> -isas-song ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
> -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
> -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0
> hanzigb16fs
> hanzigb16st
> hanzigb24st
>
> what's wrong? Anyone can help me?
>
> thx a lot
|