Re: [dev] dwm taskbar icons via pcf font

From: Andrew Hills <hills.as_AT_gmail.com>
Date: Thu, 19 May 2011 09:28:33 -0400

On Thu, May 19, 2011 at 4:50 AM, Le Tian <tianeast_AT_gmail.com> wrote:
> yes, I checked this and when I "xterm -fn
> /usr/share/fonts/my_fancy_font.pcf.gz"; "echo -e "\xA1"" to get my custom
> icon, I get a (?) sign, so as it looks like impossible for xterm to show the
> value of "A1"(that is my icon index number).

No, you can't use the path to the font. You need to add it to the font
path in X and then reference it BY NAME. Set the name when you edit
the font, do the xset commands I listed earlier, and try again. If you
name your font "myfancyfont", for example, you should be able to refer
to it as -*-myfancyfont-*-*-*-*-*-*-*-*-*-*-*-* in xfontsel. If you
can't do that, you won't be able to use your font at all outside of
the font editor.

--Andrew Hills
Received on Thu May 19 2011 - 15:28:33 CEST

This archive was generated by hypermail 2.2.0 : Thu May 19 2011 - 15:36:02 CEST