Re: [dwm] dwm + xft

From: Donald Chai <>
Date: Thu, 11 Sep 2008 22:34:35 -0700

On Sep 11, 2008, at 9:54 PM, bill lam wrote:

> On Thu, 11 Sep 2008, Donald Chai wrote:
>> bug. By "looks ugly" do you mean it's rendered with a different
>> font, or
>> that the font is improperly rendered?
> look like 15x16 character printed on an old dot-matrix printer.
>> I've checked with rxvt-unicode and FF2 (Iceweasel), and everything
>> looks
>> fine. If I go to, the
>> statusbar and
>> the FF2 text look fine.
> Not yet applied your patch, dwm display this on the statusbar
> Ko1m;Q - N,4pI42J!$<+3E*I42JA4Ji
> I use en_HK.UTF8, I tried use some X11 chinese font but it still
> display rubbish on the statusbar for chinese title. Is there
> any method to display cjk font on the statusbar just using the X11
> fonts?

Just specify multiple font patterns in config.h, separated by commas:

        static const char font[] = "-*-fixed-medium-r-normal-*-12-*-*-*-*-*-
*-*,-*-ukai-*-r-normal--*-*-*-*-*-*" ;

They will look like characters printed on an old dot-matrix printer,
which is why I bothered using pango.

Try using awesome wm:
If that works fine, then maybe I can try to learn from them.
Received on Fri Sep 12 2008 - 05:34:35 UTC

This archive was generated by hypermail 2.2.0 : Fri Sep 12 2008 - 05:36:04 UTC