Re: Japanese Display for gtk+-1.2.9

On Wed, 19 Oct 2005 14:11:45 +0800
Xyber Blue <xyberblue gmail com> wrote:

>By the way, the dillo successfully displayed japanese because we install
>fonts which is the

If dillo displays html by those fonts, the font handling of
the widget to display Japanese html is very different from
gtk+-1.2 proper widget families (as you've found that gtk+-1.2
does not support UCS2 nor UTF-8). Therefore, even if you can
find something named as eucjp-fonts-asian.tar.gz, they won't
help gtk+-1.2 problem.

>Is there a specific japanese font for EUC-JP encoding???
>Because the ucs-fonts-asian only support UTF-8 encoding
>and also we found out that gtk-1.2 does not support UTF-8
>encoding. EUC-JP is the supported one for gtk-1.2.

>any hints on where I could find these fonts for EUC-JP???

gtk+-1.2 proper widget uses X core fonts, so the font file in
/usr/X11R6/lib/X11/fonts/misc are what you're looking for.

>>>If Japanese fonts are accessible via X core font API, the next problem
>>>might be gtkrc is tuned to request unavailable Japanese fonts.
>>>Please check if there's gtkrc.ja in some directory. In it, usually
>>>default fontset for LANG=ja_JP environment is described.
>I also noticed that file, when Im trying to renamed it, widgets display
>gurbled instead of lines. Maybe I was thinking also of the possibility that
>the fontset beeing defined by gtkrc.ja can't be found. But I don't know
>what's this exact japanese font for EUC-JP.

The font names in gtkrc.ja should be X core font name, not
font file name, nor fontconfig name. Please show how did you
wrote it. Anyway, font access via X core font API requires
that X-server is configured correctly. To check X-server's
configuration, using xlsfonts/xfontsel/xfd are recommended.


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