On Tue, Jun 26, 2001 at 10:23:38AM +0300, Max Ischenko wrote:
>
> Dominik Vogt wrote:
>
> > > To summarize:
> > > 1. I see localised window titles of most apps (like GVim),
> > > except mozilla/galeon with --disable-mb.
> >
> > Um, you have localised window titles *without* multibyte support
> > compiled in? Then I do not understand anything about mb works with
> > X. Can someone explain how this is possible?
>
> I'm using Russian and I don't ever need multibyte support.
> Cyrrilic is 8bit encoding.
>
> $ locale
> LANG=ru_RU.KOI8-R
> LC_CTYPE="ru_RU.KOI8-R"
> LC_NUMERIC=POSIX
> LC_TIME="ru_RU.KOI8-R"
> LC_COLLATE="ru_RU.KOI8-R"
> LC_MONETARY="ru_RU.KOI8-R"
> LC_MESSAGES=C
> LC_ALL=
>
> I'm using my windows fonts *.ttf for X (Arial, Courier New, etc.).
> They support a bunch of encoding like koi8, iso*.
Really, I'm only guessing. I don't know much about how fonts work
in X. The only thing I know is that XCreateFontList() fails with
"labelb" as the font list pattern. The man page on that function
is hard to understand, but I think failure of this function means
that the font does not support the selected locale, i.e.
ru_RU.KOI8-R.
> > > If I build fvwm with
> > > --enable-mb then _all_ window titles looks just fine, BUT fvwm complains
> > > about my fonts as "invalid".
> >
> > Actually, X complains about this, not fvwm. It would be possible
> > to fall back to using the "C" locale to load the font, but that
> > will require a major rewrite of the multibyte code (which will be
> > done anyway some time in the future).
>
> I'm sure russian can work without any multibyte support.
> For example, I compiled Vim without multibyte and it grok me fine.
Actually, the name of the --enable-multibyte option is misleading.
You need it not only for multibyte support but for any encoding
other than Latin1.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jun 26 2001 - 03:33:09 BST