Re: [dev] dwm taskbar icons via pcf font

From: pancake <>
Date: Thu, 19 May 2011 17:04:29 +0200

yay. this windings approach looks cool. Can you explain in a wiki/web
the steps to create such font file, and how to do your setup?

i will probably not use it.. but i think it can be useful for things
like swk or dzen.
at least it simplifies a lot the image support with X api..


On 05/19/2011 03:28 PM, Andrew Hills wrote:
> On Thu, May 19, 2011 at 4:50 AM, Le Tian<> 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 - 17:04:29 CEST

This archive was generated by hypermail 2.2.0 : Thu May 19 2011 - 17:00:05 CEST