You are not logged in.

#26 2011-11-22 19:53:13

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Terminusmod Font and Status Icons

Ok I should have posted images in my previous post.

I use dwm and start conky with

conky | while read -r; do xsetroot -name "$REPLY";done

In dwm's config.h I have

static const char font[]            = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*";

or

static const char font[]            = "-*-terminusmod-medium-r-*-*-12-*-*-*-*-*-*-*";

Thats what they look like:
terminus
terminus
terminusmod
terminusmod

Last edited by Army (2011-11-22 20:20:18)

Offline

#27 2011-11-22 20:46:16

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

Sorry. Never mind. I'm trying to do two things at once here. I'm not sure what the problem is. Did you install it through pacman or from the .pcf files in my configs? If you installed it manually, you'll need to do

sudo fc-cache -f
sudo mkfontscale /usr/share/fonts/local
sudo mkfontdir /usr/share/fonts/local

This will be done automatically through pacman with the install script.

And make sure you have

xset +fp /usr/share/fonts/local
xset fp rehash

in your .xinitrc (but you probably do if you're using terminus)

It doesn't look like it's using the font in the screenshot and defaulting to something else. Or maybe it's something with conky? Does it work in the terminal and on the rest of dwm?

Last edited by stlarch (2011-11-22 21:23:15)

Offline

#28 2011-11-22 21:24:12

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Terminusmod Font and Status Icons

Ok, I didn't have

xset fp rehash

in my .xinitrc, now it works. And yes, I of course installed it via pacman with the package from the AUR.

Offline

#29 2011-11-22 21:28:24

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

Awesome. If you want to use the sets with icons just use

static const char font[]            = "-*-terminusmod.icons-medium-r-*-*-12-*-*-*-*-*-*-*";

Offline

#30 2011-11-22 21:30:27

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Terminusmod Font and Status Icons

Yes I'm playing with that at the moment. But I don't know how to get those icons. I see them in xfontsel, but what do I need to put in my conkyrc to e.g. get a battery symbol?

Offline

#31 2011-11-22 21:42:02

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I just do

echo -e '\xF0'

for example to get the battery one, and then cut and paste it into your script. Here's a screenshot of the icons for the 12 so far. They're not the greatest looking icons but they're ok. I'll try to work a little on those on the next update hopefully.
tYmVwYQ

Last edited by stlarch (2011-11-22 21:45:37)

Offline

#32 2011-11-22 21:43:56

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Terminusmod Font and Status Icons

Alright, that helps, thanks dude! smile

Offline

#33 2011-11-25 11:33:42

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: Terminusmod Font and Status Icons

hi there, just wanted to say I use this too, now.
thanks!
om2yV.png


.:[ git me! ] :.

Offline

#34 2011-11-25 21:16:54

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

^^Thank you!^^

Well, I decided to fork the new 8x15 into a seperate project. It's really become something different now. As I said, it's more of of mix of terminus and tamsyn now. So I decided to name it termsyn! How original. I'll start a seperate thread for termsyn. For now, it's the 8x15 with bold and the 6x11 (no bold yet). Both have versions with status icons too. I'll probably do some other sizes later.

I'll leave terminusmod alone for now. I'll try to finish up the 12 bold soon.

Termsyn https://bbs.archlinux.org/viewtopic.php … 5#p1021195
aur https://aur.archlinux.org/packages.php?ID=54304

Last edited by stlarch (2011-11-25 21:27:32)

Offline

#35 2011-12-08 07:22:00

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

There are some important changes in the next update. Here is the README.terminusmod in /usr/share/fonts/local that explains everything:

 Terminusmod provides a bold 12 for the popular terminus font and also versions with status icons. The 8x14 has been
discontined. It wasn't quite right and I'm not interested in maintaining it further. If you're looking for something in
that size range, try termsyn. It's another font that I made based on terminus and tamsyn and the 8x15 is similar
(better I think). http://sourceforge.net/projects/termsyn . I also got rid of terminusmod12r.pcf. I only made a couple
small changes to the original and it really didn't justify including it. So you'll need to have terminus installed. (I assume
most of you do anyway). Sorry for all the recent changes and any confusion it caused but I think it's the right thing
to do. The versions with status icons include the ASCII character set and some icons I drew for status bars.

So to clarify, there are now three fonts included:

terminusmod12b.pcf
terminusmod12b.icons.pcf
terminusmod12r.icons.pcf

You can use something like this for your .Xdefaults :

urxvt*font:         -*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*
urxvt*boldFont:     -*-terminusmod-bold-r-normal-*-12-*-*-*-*-*-*-*

If you want to use one of the versions with status icons use something like this (from my dwm config.h):

-*-terminusmod.icons-medium-r-*-*-12-*-*-*-*-*-*-*

I'll keep the 14 in my configs for now if anyone still wants it.

I also cleaned up a couple things on the 12 bold and made a couple small changes. I updated the aur.

Offline

#36 2011-12-08 20:37:58

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I updated it again. I cleaned up the few remaining things and added a few more icons. I think I have it about as good as I can get it now. Sorry for all the updates, I'm just trying to get it as perfect as I can.

Here's a screenshot of the icons: tYm5nbA

Last edited by stlarch (2011-12-08 21:26:20)

Offline

#37 2011-12-09 19:52:58

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I updated it again because I had a few of the new icons misplaced and I want to try to keep it consistent with my other fonts. Sorry. I also tried to "improve" a few of the other icons. Hopefully everything looks a little better now. I don't anticipate making too many other changes to this font. It should be pretty close to the final product. If you want to modify anything, it's pretty easy to do with gbdfed. Here's a screenshot of the current icons:

tYm54OA

Offline

#38 2011-12-11 22:17:50

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I added yet a few more icons and modified a couple of the others. I saw a screenshot from ClearSkies who made some smaller icons and centered them and it looked pretty good, so I made a few smaller versions of some of mine and stole one of his icons! This is probably the final version.  I think I've reached the limits of my artistic capabilities tongue .Here's a screenshot: 

tYnBhMg

I updated it again because I made the thermometer worse I think and my new on was still too big looking. I promise I'm done with it now tongue , or I'll never stop!


EDIT: Wow. I just can't leave it alone. Some of the icons still didn't look right. It's too tall and narrow. And I had a couple of the new ones aligned to the left and I wanted them to the right. So I made some more changes. I really want it to be right because I'll be using this (at least right for me). I guess there are endless variations that you can do but after playing with the smaller ones, I really think they look good. If you don't like what I've done, you can always edit it yourself. And I came up with a new one too that looks good and replaced the up and down arrows. I also replaced the big pacman with another clock because it looked like crap. Some of the positions of the icons are different than my other fonts. That's just the way it turned out. I think it's pretty awesome now. Here's a new screenshot:

tYnBvYg

Edit again: After thinking about it (my first problem), I decided to align everything to the right that already wasn't. I think most people use a space between the icons and text? It's just too close without one. I have a space from the statuscolors patch with dwm but before that I used one. I think it will keep everything more uniform. Everything looks great now on mine.

Here's the final screenshot of the icons:

tYnQ1dQ

Last edited by stlarch (2011-12-19 04:46:24)

Offline

#39 2011-12-26 18:16:59

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

epic

Last edited by stlarch (2011-12-30 07:33:48)

Offline

#40 2011-12-27 06:31:59

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

fail

Last edited by stlarch (2011-12-30 07:34:00)

Offline

#41 2011-12-27 18:22:24

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

on the new 13 yikes

Last edited by stlarch (2011-12-30 07:35:22)

Offline

#42 2011-12-30 07:43:10

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

So, the new 13 that I was so excited about failed. I loved the lower case and I could probably get the numbers to be ok, but the caps were a nightmare. I just couldn't get it to work out and I don't think I can. I'm sorry, I tried. I should have held off until I knew it would work. I won't do that again. So I removed the 13 and it's just the 12 again. I didn't let my work go for nothing though. I ended up salvaging it into a really nice version of termsyn. I made the cap_height 8 and the x_height 6 so it's basically the same size as terminus 12 but with a little more vertical space and all the mods that I've done with that font. It turned out really nice. It truely is friggin fantastic. You should give that a try. Again my apologies for making you download a couple updates for nothing and wasting your time with a font that doesn't work.

Offline

#43 2011-12-30 20:46:54

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I added a modded version of terminus 12 with most of the changes I made to termsyn 13. I "fixed" all of the little details that bugged me. It's just ISO8859-1 for now. I named it terminusmodx. So just do  -*-terminusmodx-medium-r-normal-*-12-*-*-*-*-*-*-* It has bold and a set with icons. I changed a couple of the icons too on all of the sets. I am done with the icons now. Here's a coupls screenshots:

tYnpraA    tYnprag

Offline

#44 2012-01-24 13:09:14

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Terminusmod Font and Status Icons

Just discovered, german umlauts (ä,ö,ü,ß) are replaced with symbols. That's a no-go for me! What can I do about that?

Offline

#45 2012-01-24 18:10:39

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

Yeah, it's just the ascii set for the icon ones. It's not an ideal solution. Sunaku came up with a workaround where you can use two fonts for dwm. You can read more about that in this thread https://bbs.archlinux.org/viewtopic.php?id=129275&p=1. Or you can use gbdfed to draw the characters you need back into the font. You can also use dzen2 and xbm icons instead. I made an icon pack in the aur called stlarch_icons.

Offline

#46 2012-05-10 08:12:42

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I redid terminusmod again and made it right this time. Everything should work perfectly for this font now. For the icon versions, I put back the multiply symbol and moved the glyph in that spot to 00A0. I also decided to drop the bold versions with icons. I don't think anyone uses those. I improved the README too. Here's a screenshot on a new (old) monitor:
tZG92NQ
I'm using stlarch_font for the icons.

I updated it again and fixed a couple things I missed. The current version is 1.9.8

Last edited by stlarch (2012-05-10 19:06:24)

Offline

#47 2012-05-11 19:59:19

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminusmod Font and Status Icons

I made a consolefont for terminusmodx and it seems to work here so far so I included it. I also changed the PKGBUILD so the README goes to /usr/share/doc/terminusmod like it should. The current version is 1.9.9. You can test it with

#setfont terminusmodx12r

.

Offline

Board footer

Powered by FluxBB