I wonder if this is not due to a small difference in
naming the font: iso8859 in xlsfonts and iso-8859 in 
/etc/locale.gen. See 
http://lists.debian.org/debian-devel/2002/debian-devel-200202/msg01366.html

(I'm not subcribed to the list)

Raphael Calvelli

-- Begin message --
Tomasz Jarzynka [EMAIL PROTECTED]
Wed, 7 Mar 2001 17:04:40 +0100

Hey, this is a forward of a mail I have sent to the GkrellM developer a few
days ago. He, as well as GTK+ developers, say this is X-localization
related. I can't, however, figure what's wrong. Can somebody help me? -- Message 
follows --
Hey, we've talked a while ago about this bug. I tried to solve it, but I failed.
I think it's worth it to further investigate the problem together. I modified 
gdkfont.c to get more output (--enable-debug=yes doesn't produce
any extra output). Now it looks like this:   if (missing_charset_count)
    {
      gint i;
      g_warning ("Missing charsets in FontSet creation\\n");
      for (i=0;i<missing_charset_count;i++)
        g_warning ("    %s in %s\\n", missing_charset_list[i], fontset_name);
      XFreeStringList (missing_charset_list);
    } Basically, I requested the contents of fontset_name to be printed. Right now,
the output looks like this: root@cpi [~] #> gkrellm &
Gdk-WARNING **:     ISO8859-1 in
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-2
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1 in
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-2
 
 
Gdk-WARNING **: Missing charsets in FontSet creation
 
 
Gdk-WARNING **:     ISO8859-1 in
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-2 As you see, the problem 
lays in the adobe helvetica typeface,
and gdk_fontset_load(); seems to be called 3 times, which is correct
concerning this part of src/gui.c in gkrellm:         if (load)
                {
                i = UC.large_info_font ? 1 : 0;
                if (text_font_normal == NULL)
                        text_font_normal = gdk_fontset_load(text_fonts[i][0]);
                if (text_font_bold == NULL)
                        text_font_bold = gdk_fontset_load(text_fonts[i][1]);
                if (text_font_italic == NULL)
                        text_font_italic = gdk_fontset_load(text_fonts[i][2]);
                } (I can't, however, figure how gdk_fontset_load(); works exactly). 
Notice that the typeface called has a 8859-2 charset defined. This is
strange, since gkrellm doesn't refer to it. GTK+ does, but I don't know how
does it affect the typefaces. What's more, here's another output:
root@cpi [~] #> xlsfonts | grep adobe-helvetica-medium-r-normal--12-120-75-75-
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-2 As you see, the font is 
available in both flavors, one is in 75dpi_X4
directory, the other is in 75dpi, but I think the physical location doesn't
matter. Does this give you *any* clue what's going on? Thanks for help! -
- End message --
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to