You are not logged in.

#26 2011-12-07 18:08:51

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

Re: Ohsnap I made another font (based on artwiz snap)

I cleaned a couple more things up that were aggravating me. I updated the aur to 1.7.1. It's approaching perfection now!

Offline

#27 2011-12-07 22:59:21

korkadapa
Member
Registered: 2008-08-27
Posts: 32

Re: Ohsnap I made another font (based on artwiz snap)

Awesome! This is my new favorite font!

Screenshot of it in action:
h5nMJl.png

I really appreciate the scandinavian characters!

Offline

#28 2011-12-08 23:19:35

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Ohsnap I made another font (based on artwiz snap)

The bold font is really nice.  The only thing I am not "font" of is the zero character.  I confuse it with 8 all of the time.

I have modified zero (in the 12b font) to not contain the two dots.  I think it improves readability over 8 and I don't think one easily confuse it with `o' (but I haven't checked `O'). The image is small, for odd reasons, so click on it:
tYm5pdw

Edit: here is one with big O and it seems to conflict with dotless zero:
tYm5qMQ

--Rasmus

Last edited by Pank (2011-12-08 23:21:39)


Arch x64 on Thinkpad X200s/W530

Offline

#29 2011-12-09 05:59:07

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

Re: Ohsnap I made another font (based on artwiz snap)

Hi Pank. I think you're right. I noticed it before and changed the 8 on the 6x11 but left the other sizes. I think I'll have to make some changes because that really is an issue. I think it would be better to change the 8 on all sizes and make the line through the zero thicker on the bold. The only issue then is that the B looks similar to the 8, so I'll change the B to look like the German B and alter the German B a little. That should solve everything except the 5 and S tongue . Let me think about a solution for that. So far it hasn't been a problem but they are the same. That's how it is in Snap too. Anyway, I'm working on it now and should have an update ready soon. And I'll be adding some more icons too.

Offline

#30 2011-12-09 10:28:37

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

Re: Ohsnap I made another font (based on artwiz snap)

I updated it. Pank, let me know what you think about the changes. I'll work on the German B too and see if I can come with something better. I added several more icons. Here's a few screenshots of the icons for the 11, 12 and 15:

tYm5vNQ   tYm5vNg   tYm5vNw]

@korkadapa, it looks cool!

I'll be adding the new icons to my other fonts too soon.

Last edited by stlarch (2011-12-09 10:37:49)

Offline

#31 2011-12-10 01:54:22

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Ohsnap I made another font (based on artwiz snap)

stlarch wrote:

Hi Pank. I think you're right. I noticed it before and changed the 8 on the 6x11 but left the other sizes. I think I'll have to make some changes because that really is an issue. I think it would be better to change the 8 on all sizes and make the line through the zero thicker on the bold. The only issue then is that the B looks similar to the 8, so I'll change the B to look like the German B and alter the German B a little. That should solve everything except the 5 and S tongue . Let me think about a solution for that. So far it hasn't been a problem but they are the same. That's how it is in Snap too. Anyway, I'm working on it now and should have an update ready soon. And I'll be adding some more icons too.

The way monofur solves it is quite elegant.  It puts a single dot surrounded by 8 white spaces around.  Space it obviously too tight, at least on smaller sizes.

The B works fine with me.

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#32 2011-12-19 20:19:56

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

Re: Ohsnap I made another font (based on artwiz snap)

I updated it and added more icons. You may have to update your scripts. I also aligned all of the icons to the right to keep it more uniform. I made a few other changes and cleaned up some things too. I made the top half of the 5 shorter to distinguish it from the S for now. I made the question and exclamation marks bold too. It sounded like a good idea but I'm second guessing myself now. I may change that back. I'll do the ISO8859-2 sets after the holidays. Here's the screenshots for the icons:

tYnRsbg   tYnRscA   tYnRscQ   tYnRscw   tYnRsdg

Last edited by stlarch (2011-12-19 23:36:25)

Offline

#33 2011-12-19 23:10:59

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

Re: Ohsnap I made another font (based on artwiz snap)

Yeah, I fu#@ed that one up. I put everything back to the way it was (I think). Should have left it alone. The 5 and the other changes weren't working. I don't think the 5 and S are a big an issue as the 0 and 8. I'll go over it again when I do the other sets and clean up anything that I missed. I need a break from this shit! I did make some changes for the better though I think and cleaned some things up.

Last edited by stlarch (2011-12-19 23:37:56)

Offline

#34 2011-12-20 17:37:39

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Ohsnap I made another font (based on artwiz snap)

Thanks.  Most of us seem to deserve a break.  I need a break.


Arch x64 on Thinkpad X200s/W530

Offline

#35 2011-12-23 12:48:27

HalfEmptyHero
Member
Registered: 2011-10-20
Posts: 16

Re: Ohsnap I made another font (based on artwiz snap)

This is an amazing font. It is now my urxvt font as well as m font for awesome.

Offline

#36 2012-01-21 17:11:46

Ypnose
Member
From: Jailed in the shell
Registered: 2011-04-21
Posts: 353
Website

Re: Ohsnap I made another font (based on artwiz snap)

What did u use to draw the letters? Bdfedit or Gbdfed?


Github -- My terminal font Envypn

Offline

#37 2012-01-21 18:16:03

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

Re: Ohsnap I made another font (based on artwiz snap)

Gbdfed. I haven't forgot about this font either. I just got sidetracked tongue

Offline

#38 2012-04-07 10:51:23

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Ohsnap I made another font (based on artwiz snap)

Hey, I have a question about this font with the icons for my DWM statusbar. I know I am using the correct 'code' with printf for a certain symbol, but it's showing the wrong ones in my statusbar. For example, for the highlighted symbol in the screenshot under 'xCE' shows as the upwards arrow symbol next to the amount of MB's RAM.
tZGFmNA

What's going on here? Is my statusbar using another size of the font? I thought it would use the same font(size) as I set in DWM.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#39 2012-04-07 11:19:52

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Ohsnap I made another font (based on artwiz snap)

Unia wrote:

Hey, I have a question about this font with the icons for my DWM statusbar. I know I am using the correct 'code' with printf for a certain symbol, but it's showing the wrong ones in my statusbar. For example, for the highlighted symbol in the screenshot under 'xCE' shows as the upwards arrow symbol next to the amount of MB's RAM.
http://ompldr.org/tZGFmNA

What's going on here? Is my statusbar using another size of the font? I thought it would use the same font(size) as I set in DWM.

Please post your config.h

Offline

#40 2012-04-07 11:21:32

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: Ohsnap I made another font (based on artwiz snap)

Unia wrote:

Hey, I have a question about this font with the icons for my DWM statusbar. I know I am using the correct 'code' with printf for a certain symbol, but it's showing the wrong ones in my statusbar. For example, for the highlighted symbol in the screenshot under 'xCE' shows as the upwards arrow symbol next to the amount of MB's RAM.
http://ompldr.org/tZGFmNA

What's going on here? Is my statusbar using another size of the font? I thought it would use the same font(size) as I set in DWM.

Mhh, I wonder if there's something wrong with the line you are using..? Also try using a bigger pixel size like 15 because some fonts are not included in smaller sizes as far I know.

This is my setup with ohsnap:

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

Last edited by Shinryuu (2012-04-07 11:24:20)

Offline

#41 2012-04-07 12:06:09

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Ohsnap I made another font (based on artwiz snap)

Thanks for your replies both. Here's the relevant part of config.h:

/* appearance */
static const char font[]            = "-*-ohsnap.icons-medium-*-normal-*-11-*-*-*-*-*-*-*";
#define NUMCOLORS 3
static const char colors[NUMCOLORS][ColLast][9] = {
        /* border    foreground background */
        { "#121212", "#BBBBBB", "#121212" }, // 1 = normal
        { "#914E89", "#914E89", "#121212" }, // 2 = selected
        { "#8A2F58", "#8A2F58", "#121212" }, // 3 = urgent
};
static const unsigned int borderpx  = 2;        // border pixel of windows
static const unsigned int gappx     = 2;        // gap pixel between windows
unsigned int snap                   = 3;        // snap pixel
static const Bool showbar           = True;     // False means no bar
static const Bool topbar            = True;     // False means bottom bar
static Bool useicons                = True;     // False means use ascii symbols
static const unsigned int titlemaxw = 0;        // maximum title width in pixel
//static const Bool systray_enable    = True;
//static const int systray_spacing    = 3;

The 11 size variant works for the tags and also in my terminals. In the terminal, I do see the correct icons when I, for example, use printf '/xCE'. It's only in the statusbar that they don't show correctly.

EDIT: Hmm, I just tried with pixelsize 12 and then it does show the correct icons. Why doesn't 11px work if I do see the correct icons in my terminals?

Last edited by Unia (2012-04-07 12:08:28)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#42 2012-04-07 18:08:12

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

Re: Ohsnap I made another font (based on artwiz snap)

I do mine like this:
.conkyrc

out_to_x no
out_to_console yes
background no
use_spacer left
update_interval 1

TEXT
${execi 1800 echo -e \\x02}Ç ${execi 1800 echo -e \\x01}${cpu cpu0}% \
${execi 1800 echo -e \\x01}${downspeedf eth0}K/s ${execi 1800 echo -e \\x02}Ú\
${execi 1800 echo -e \\x01}${upspeedf eth0}K/s ${execi 1800 echo -e \\x02}Û  \
${execi 1800 echo -e \\x02}Æ${execi 1800 echo -e \\x01}${memfree} \
${execi 1800 echo -e \\x02}±${execi 1800 echo -e \\x01}${hwmon temp 1}° \
${execi 1800 echo -e \\x02}í ${execi 1800 echo -e \\x01}${mixer vol}% \
${execi 1800 echo -e \\x02}µ ${execi 1800 echo -e \\x01}${battery_percent BAT1}% \
${execi 1800 echo -e \\x02}· ${execi 1800 echo -e \\x01}${time %I:%M }

tZGFqYw

example script

dte(){
dte="$(date +"%H:%M")"
echo -e "\x02· \x01$dte"
}

xsetroot -name "$(dte)"

tZGFqZw

and I have

static const char font[]            = "-*-ohsnap.icons-medium-r-*-*-11-*-*-*-*-*-*-*";

in my config.h

I'm using the statuscolors patch.
I just do

echo -e '\xB7'

(for the clock for example) and then paste the output into a script.
Hope that helps.

Last edited by stlarch (2012-04-07 19:01:26)

Offline

#43 2012-04-08 14:44:05

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Ohsnap I made another font (based on artwiz snap)

Hm, I changed the size back to 11 now and it seems to be working fine now.... I don't know why, but as long as it works I'm happy smile Thanks guys!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#44 2012-04-08 22:21:54

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: Ohsnap I made another font (based on artwiz snap)

Just wanted to say thanks for this font, using it on all my machines smile

Offline

#45 2012-05-07 22:44:19

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Ohsnap I made another font (based on artwiz snap)

Quick question: Just how do you figure out how to print the glyphs/icons?  I did a brief Google search and checked the "Font" page in the wiki, but I'm not sure if I'm even looking for the correct info.

Offline

#46 2012-05-07 23:00:45

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Ohsnap I made another font (based on artwiz snap)

Are you looking for xorg-xfd?

xfd -fn ohsnap

Scott

Offline

#47 2012-05-08 02:19:04

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Ohsnap I made another font (based on artwiz snap)

I'm trying to figure out how to use the icons in the font in my Awesome statusbar.  I don't really know where to look for info on which characters to put into the config file, or how to type those characters.

EDIT: Alright, based on a couple of Stlarch's posts above, I sorted this out (echo-ing the character codes from the screenshots above).  Neat.  This is definitely my new favorite font.

Last edited by ANOKNUSA (2012-05-08 02:28:03)

Offline

#48 2012-05-11 20:12:34

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Ohsnap I made another font (based on artwiz snap)

Hey stlarch,

I just noticed you created a consolefont version of terminus and was wondering if you could also make one of ohsnap? I don't know how much time that would cost or if it's even possible, but it would be awesome to have it!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#49 2012-05-11 20:30:51

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

Re: Ohsnap I made another font (based on artwiz snap)

Hey Unia, yeah I was going to try again to make a consolefont for this and termsyn. I'm not sure if I can get it right but I'll try.
@ ANOKNUSA, glad you got it working.

Offline

#50 2012-05-11 20:33:54

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Ohsnap I made another font (based on artwiz snap)

Wow, fast reply! Can't wait for it man, gonna be awesome!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB