Re: Re: [dwm] unicode characters in status

From: Stefan Tibus <sjti_AT_gmx.net>
Date: Thu, 07 Dec 2006 17:44:19 +0100

On Thu, 7 Dec 2006 14:39:39 +0100 Anselm R. Garbe wrote:
> Nah, I found the final solution ;) X is capable on its own to
> pick up the right font, if no registry is supplied. The
> following default should work for all:
>
> #define FONT "fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"

Well, that's not that much of a surprise if you have played
around with something like xfontsel...

The reason "fixed" is a problem is due to the alias definition.
E.g. on my system /usr/X/lib/X11/fonts/misc/fonts.alias contains:
fixed "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1"
So "fixed" is aliased to "fixed...-iso8859-1" and will not work
with a UTF-8 locale, while "fixed...-*-*" will.

Regards,
Stefan

-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
Received on Thu Dec 07 2006 - 17:44:49 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:34 UTC