Re: [dev] dwm taskbar icons via pcf font

From: Le Tian <tianeast_AT_gmail.com>
Date: Thu, 19 May 2011 12:07:54 -0400

On Thu, May 19, 2011 at 11:04 AM, pancake <pancake_AT_youterm.com> wrote:

> 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..
>
> --pancake
>
>
> On 05/19/2011 03:28 PM, Andrew Hills wrote:
>
>> 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
>>
>> to pancake:
> As soon as I will make it myself, I will. This is not my method. It was
> advised by a nice guy on one of the arch forum threads.
>
   here is a link: https://bbs.archlinux.org/viewtopic.php?id=92895

-- 
Tian
Received on Thu May 19 2011 - 18:07:54 CEST

This archive was generated by hypermail 2.2.0 : Thu May 19 2011 - 18:12:02 CEST