Re: [wmii] UTF-8 text issue in wmii-3.6

From: Tobias Brandt <tobiasbrandt_AT_web.de>
Date: Wed, 30 Jul 2008 05:09:06 +0200

I installed proggyclean but you're font string didn't work for me. The
first entry was simply ignored and double-width characters were used for
everything. I'm using de_DE.utf8 as locale but that shouldn't be the
problem.
Well, be that as it may, I have found a font that looks acceptable at
14px (and maybe 12px) and covers Kana/Kanji/Hangul double-width
characters. It's -efont-biwidth-*-*-*-*-14-*-*-*-*-*-*-*.
It's not as pretty as fixed, but I can live with that. Thanks to all for
your help.

Anthony Martin schrieb:
>> That was my first idea, but it seems that X
>> just takes the first font that fits the pattern.
>
> I started the process of explaining how X draws
> a character with X(mb|wc|utf8)DrawString but
> about half way through, I was confused.
>
> Having nice fonts in wmii/dwm really boils down
> to using a UTF-8 locale and building a font set
> that you like.
>
> My locale is en_US.utf8 and my font string is:
>
> "-*-proggyclean-*-*-*-*-13-*-*-*-*-*-*-*,
> -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso10646-1,"
>
> Yes, you can supply multiple fonts. Read
> XCreateFontSet(3) if you want more details.
>
> The downside to the font set above is the lack
> of complete Chinese and Korean coverage. If I
> ever find a 13px font that covers the GB2312
> and KSC5601 encodings, there will be much
> rejoicing. The smallest fonts that look good
> *and* cover GB2312 and KSC5601 are the 16px
> fangsong li and mincho fonts, respectively.
> That's too big for my tastes.
>
> Anthony
>
>

-- 
Tobias Brandt
Received on Wed Jul 30 2008 - 03:09:06 UTC

This archive was generated by hypermail 2.2.0 : Wed Jul 30 2008 - 03:12:05 UTC