Hi,

Recently I found many basic X softwares output the message of
"Missing charsets in String to FontSet conversion" when invoked
in Japanese locale.

I found that xc/lib/Xt/Converters.c calls XCreateFontSet()
few times and the parameter for it is not appropriate.

In xc/lib/Xt/Converters.c 1037

    /* Should really do XListFonts, but most servers support this */
    f = XCreateFontSet(display, "-*-*-*-R-*-*-*-120-*-*-*-*",
          &missing_charset_list, &missing_charset_count, &def_string);

However, the "-*-*-*-R-*-*-*-120-*-*-*-*" is too restructive and
the XCreateFontSet() cannot find fonts for some charsets even when
appropriate fonts are available in XFree86 distribution (or in other
popular font distributions) and are installed.

Thus, I'd like to send a patch to modify the font pattern to
"-*-*-*-R-*-*-*-120-*-*-*-*,*" in order to use any fonts if available.
I think it is a mess to prepare a long long list of patterns in order
to get slightly better proportion.  I am now using a modified version
of Xt for a few days and it seems to work well without any side effects.

Any comments?

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to