Re: [dev] dwm taskbar icons via pcf font

2011-05-20 Thread Bryan Bennett
That font encoding is pretty arbitrary - I chose the encoding that Tamsyn already carried. I don't require too much more than ASCII due to my locale (en_US), so I stuck with en_US.ISO8859-1. If you needed to, you could copy the glyphs over into another font, say Terminus, that has better support fo

Re: [dev] dwm taskbar icons via pcf font

2011-05-20 Thread Le Tian
On Fri, May 20, 2011 at 5:55 PM, Bryan Bennett wrote: > Eckehard is right - rehash your font library to see the changes. > > rehash is done via .xinitrc, I think that utf-8 locale is the reason, if I switch to en_US.ISO-8859-1, I can echo Bryan font icons, when UTF-8 gives me empty output or (?)

Re: [dev] dwm taskbar icons via pcf font

2011-05-20 Thread Bryan Bennett
Eckehard is right - rehash your font library to see the changes.

Re: [dev] dwm taskbar icons via pcf font

2011-05-20 Thread Eckehard Berns
> Thanks Bryan, your icons work, but only in my "terminal" not "xterm" when I > choose Tamsyn2 font and echo -e "\xC1", however when I edited your font with > my gbdfed, saved, reconverted, and put it into /usr/share/fonts/local/, ran > my terminal and echo -e "\xA1"(my added icon) didn't show up,

Re: [dev] dwm taskbar icons via pcf font

2011-05-20 Thread Le Tian
On Fri, May 20, 2011 at 1:01 AM, Bryan Bennett wrote: > I've done this previously (I have modified Tamsyn's 15pt version > and released it on the arch forums as 'Tamsyn2') and it works > very well - particularly in locales where you rarely use anything > outside of the ASCII charset. The basic id

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread Bryan Bennett
I've done this previously (I have modified Tamsyn's 15pt version and released it on the arch forums as 'Tamsyn2') and it works very well - particularly in locales where you rarely use anything outside of the ASCII charset. The basic idea is this - find a font you like and change the characters you

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread hiro
And please tell the mailing list if you have any other problem whatsoever :D (Not that I'm innocent) On Thu, May 19, 2011 at 18:15, Suraj N. Kurapati wrote: > On Thu 19 May 2011 12:07:54 PM PDT, Le Tian wrote: >> On Thu, May 19, 2011 at 11:04 AM, pancake wrote: >> >>> this windings approach looks

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread Suraj N. Kurapati
On Thu 19 May 2011 12:07:54 PM PDT, Le Tian wrote: > On Thu, May 19, 2011 at 11:04 AM, pancake wrote: > >> 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? > > here is a link: https://bbs.archlinux.org/viewtopic.php?id

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread Le Tian
On Thu, May 19, 2011 at 11:04 AM, pancake 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 simpl

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread pancake
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 0

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread Andrew Hills
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,

Re: [dev] dwm taskbar icons via pcf font

2011-05-19 Thread Le Tian
On Wed, May 18, 2011 at 10:20 AM, Andrew Hills wrote: > On Wed, May 18, 2011 at 10:11 AM, Le Tian wrote: > > This method seems pretty nice, but somehow I still can't make my modified > > font icons work, I made an icon under 0045 index, that replaced "E" > letter, > > but after setting the font

Re: [dev] dwm taskbar icons via pcf font

2011-05-18 Thread Andrew Hills
On Wed, May 18, 2011 at 10:11 AM, Le Tian wrote: > This method seems pretty nice, but somehow I still can't make my modified > font icons work, I made an icon under 0045 index, that replaced "E" letter, > but after setting the font in xterm via "setfont > /usr/share/fonts/myfancyfont.pcf.gz" and r

Re: [dev] dwm taskbar icons via pcf font

2011-05-18 Thread Le Tian
On Tue, May 17, 2011 at 3:19 PM, Robert Ransom wrote: > On Tue, 17 May 2011 20:45:17 +0300 > Le Tian wrote: > > > Recently I've bumped into a thread with a nice solution to takbar icons > in > > dwm via editing any pcf font. So I converted pcf to bdf and with gbdfed > util > > created some new ic

Re: [dev] dwm taskbar icons via pcf font

2011-05-17 Thread Robert Ransom
On Tue, 17 May 2011 20:45:17 +0300 Le Tian wrote: > Recently I've bumped into a thread with a nice solution to takbar icons in > dwm via editing any pcf font. So I converted pcf to bdf and with gbdfed util > created some new icons. After that I reconverted new bdf font to pcf and put > it into a

[dev] dwm taskbar icons via pcf font

2011-05-17 Thread Le Tian
Recently I've bumped into a thread with a nice solution to takbar icons in dwm via editing any pcf font. So I converted pcf to bdf and with gbdfed util created some new icons. After that I reconverted new bdf font to pcf and put it into a font folder, after that I modified my config.h so it grabbed