Re: loading chinput ...
On Fri, Aug 10, 2001 at 09:25:16PM +0800, zoum@comp.nus.edu.sg wrote:
> > cp /usr/lib/ZWinPro/Chinput.ad ~/.chinput
> > and change the line
> > chinput.big5font = $#@!%
> > to some other big5 font, like something in your /etc/gtk/gtkrc.zh_TW.big5
>
> This is a slice of /usr/lib/ZWinPro/Chinput.ad:
>
> chinput.font = 8x16
> chinput.gbfont = -default-song-medium-r-normal--16-*-*-*-
> *-*-gb2312.1980-0
> chinput.big5font = -default-ming-medium-r-normal--16-*-*-*-
> *-*-big5-0
>
> This is my /etc/gtk/gtkrc.zh_TW.big5:
>
> style "gtk-default-zh-tw" {
> fontset = "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-1,\
> -taipei-*-medium-r-normal--*-*-*-*-*-*-big5-0,\
> -*-*-medium-r-normal--16-*-*-*-*-*-big5-0,*-r-*"
> }
> class "GtkWidget" style "gtk-default-zh-tw"
>
> After replacing "chinput.big5font" with each font in "gtkrc.zh_TW.big5",
> lauching chinput complains either "Cannot open font ..." or
> "Error : Create Big5 FontSet".
Set the font name something output from 'xlsfonts -fn *big5*'.
Still, it is strange. Either the gtk/gnome apps used some
-*-*-medium-r-normal--16-*-*-*-*-*-big5-0 or
*-r-* but it still won't explain why chinput cannot use those
fonts. It seems like a chinput specific problem but only you
can see it. :)
--
Best regard
hashao
Reply to: