Re: Japanese Display for gtk+-1.2.9



On Thu, 20 Oct 2005 11:40:26 +0800
Xyber Blue <xyberblue gmail com> wrote:

>I found out also that when I try to select fontset for gtkrc.ja from
>fonts.dir of misc fonts, it displays the following warning messages:
>
>Gdk-WARNING **: Missing charsets in FontSet creation
>
>Gdk-WARNING **: ISO8859-1
>
>And the gtk-widget diisplay garbage...
>
>But when I try to use the others, the warning messages disappeared but
>again, gtk-widgets displays nothing....

It makes me afraid that breaking of X core font environment
is not only for Japanese but also for English, especially for
14pt fonts. Taking a glance on gtkrc bundled to gtk+-1.2.x,
it seems that ja, ka, vi are using 14pt fonts by default.

Then, try following fontset.

16pt test
---------
  fontset =
    "-*-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-1,\
     -*-*-*-r-*--16-*-*-*-*-*-jisx0213.2000-1,\
     -*-*-*-r-*--16-*-*-*-*-*-jisx0208.1990-0,\
     -*-*-*-r-*--16-*-*-*-*-*-jisx0208.1983-0,\
     -*-*-*-r-*--16-*-*-*-*-*-jisx0201.1976-0,\
     *-r-*"

14pt test
---------
  fontset =
    "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
     -*-*-*-r-*--14-*-*-*-*-*-jisx0213.2000-1,\
     -*-*-*-r-*--14-*-*-*-*-*-jisx0208.1990-0,\
     -*-*-*-r-*--14-*-*-*-*-*-jisx0208.1983-0,\
     -*-*-*-r-*--14-*-*-*-*-*-jisx0201.1976-0,\
     *-r-*"

12pt test
---------
  fontset =
    "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
     -*-*-*-r-*--12-*-*-*-*-*-jisx0213.2000-1,\
     -*-*-*-r-*--12-*-*-*-*-*-jisx0208.1990-0,\
     -*-*-*-r-*--12-*-*-*-*-*-jisx0208.1983-0,\
     -*-*-*-r-*--12-*-*-*-*-*-jisx0201.1976-0,\
     *-r-*"

10pt test
---------
  fontset =
    "-*-helvetica-medium-r-normal--10-*-*-*-*-*-iso8859-1,\
     -*-*-*-r-*--10-*-*-*-*-*-jisx0213.2000-1,\
     -*-*-*-r-*--10-*-*-*-*-*-jisx0208.1990-0,\
     -*-*-*-r-*--10-*-*-*-*-*-jisx0208.1983-0,\
     -*-*-*-r-*--10-*-*-*-*-*-jisx0201.1976-0,\
     *-r-*"

# I don't think it solve the problem Japanese font, but
# iso8859 problem may improve.

>I am trying to add the fonts which this site provide
>ftp://viper2.netfort.gr.jp/pub/peace24/tgz/9.1/XFree86-jpfonts-2.1-noarch-1.tgz
>
>But again, theres no effect...

I dig new directory /usr/X11R6/lib/X11/fonts/japanese/ and puts
various Japanese PCF fonts to there. I'm not sure if install
scripts update properly your X core font environment to use them.

Regards,
mpsuzuki



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