Re: [dev] UTF8 text in wmii

From: Martin Swift <martin_AT_swift.is>
Date: Sun, 27 Sep 2009 16:29:17 +0000

Hi Yuval,

On Sun, Sep 27, 2009 at 12:59:29PM +0300, Yuval Hager wrote:
> Some non-latin characters are displayed garbled within wmii (windows titles,
> tag names) - attached is Firefox window title I get. I tried using ucs
> fonts (*-ISO10646-1), but then everything is garbled, even latin text.

I'm able to get some decent results for most characters using
something like
  WMII_FONT=' -*-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-1'
[see attached: wmii-font_example-13-working.png]

For the terminal I've had to use
  -*-fixed-medium-r-normal-*-18-*-*-*-*-*-iso10646-1
to get most characters to display, for example block elements such as
  ▁ ▂ ▃ ▄ ▅ ▆ ▇ █

These, however, still don't show up in the status or title bars.
[see attached: wmii-font_example-1?-nonwork.png]

> I have no problem displaying non-latin text in applications, like xterm or
> firefox.

Do you know which font-string the terminal is run with? I've never
been able to figure out these font lines properly to know which font,
precisely is being used.

Part of this could be fixed, but I don't know where wmii breaks down.
Furthermore, I'm running wmii-3.6 which is well dated so if you're
running a more up to date version you might be able to have all your
problems fixed. Let's hope someone else who can give better help
responds as well.

Cheers,
Martin

wmii-font_example-13-working.png wmii-font_example-13-nonwork.png wmii-font_example-18-nonwork.png
Received on Sun Sep 27 2009 - 16:29:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 16:36:02 UTC