You are not logged in.

#101 2012-07-21 21:51:22

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

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

you could do

${execi 1800 printf '\xBA'}

in conkyrc


You're just jealous because the voices only talk to me.

Offline

#102 2012-07-21 21:56:46

kalle97
Member
Registered: 2012-07-18
Posts: 80

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

Thank you! big_smile

Offline

#103 2012-07-21 23:07:48

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

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

@stlarch

I just noticed that for the consolefonts, then the danish lowercase 'ø' is shown as a little filed square, whereas in uppercase it's fine and also fine in the X version...

I saw it in both 7x14r and 6x13r, but didn't try the others, as they're to small for me...

Offline

#104 2012-07-22 04:03:07

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

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

I'm not sure what it could be. Is that the only one that is doing that? Is anyone else getting that too? Unia, could you test it possibly? I'll take another look at it and try to test it better.

@I'm glad you got it working kalle97

Last edited by stlarch (2012-07-22 04:05:16)

Offline

#105 2012-07-22 10:48:30

kalle97
Member
Registered: 2012-07-18
Posts: 80

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

It's a truly nice font I must say, it looks good and is very easy to read, perfect in my opinion. smile Feels like I gonna stick with this a while.

Offline

#106 2012-07-22 11:20:03

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

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

@stlarch

Yes, that's the only letter that not right, the others are fine e.g. æ and å, and it's only on the console fonts, and also only a problem with lowercase, not upper...

Edit: You should be able to see it in the console by changing to danish with running:

loadkeys dk

Edit2: Damn! Just woke up! Sorry! obviously, there's no danish letters on your keypad... smile

Last edited by mhertz (2012-07-22 11:25:01)

Offline

#107 2012-08-02 02:12:00

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

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

@mhertz, sorry, doesn't look like anyone else is going to respond. I did notice one thing. It seems I used the table from terminusmod (I made that first) instead of terminus so I was thinking maybe something got corrupted or something. I redid the 6x13r if you want to test that and see if there is any difference (or anyone else). It's all I can think of right now. It's in my configs, in /ohsnap/testing/.

Offline

#108 2012-08-02 04:29:59

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

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

Thanks alot, mate! Indeed this now works correctly!

Offline

#109 2012-08-02 14:47:58

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

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

Awesome. Thanks for speaking up and testing it. I'll redo all of the iso8859-1 psfu fonts later today or tomorrow and update everything.

Offline

#110 2012-08-03 12:06:24

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 have a "little" request big_smile Since Arch has moved to GRUB2, so have I. I'm currently playing around with theming it and I'd love to use Ohsnap as my font. GRUB2 can read bitmap fonts in pf2 format.. *hint hint* big_smile

No, in all seriousness, it would be really great if you could do this. I don't know how hard it is though, so perhaps I'm asking for too much here. Just let me know what you think!


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

#111 2012-08-03 12:56:22

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

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

I did a quick search, as I know nothing about grub2, and read that grub-mkfont from the grub package can convert regular pcf fonts into pf2...

Offline

#112 2012-08-03 14:26:10

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

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

mhertz wrote:

I did a quick search, as I know nothing about grub2, and read that grub-mkfont from the grub package can convert regular pcf fonts into pf2...

Clever! I didn't even know of grub-mkfont... I'll try this!

EDIT: Oke, got it working. Grub-mkfont is pretty straightforward, I did the following:

grub-mkfont /usr/share/fonts/local/ohsnap7x14b.pcf -o ~/ohsnap7x14b.ps2

Then I copied the font to /usr/share/grub and finally, added this line to /etc/default/grub:

GRUB_FONT="/usr/share/grub/ohsnap7x14b.pf2"

The Wiki didn't have that entry on /etc/default/grub so I added it. Working perfectly! Now onto figure out how to color my boot process and I'll have a unified grub, boot and xorg!

Last edited by Unia (2012-08-03 15:26:04)


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

#113 2012-08-03 16:57:33

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

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

That's cool. I updated ohsnap and termsyn and hopefully the consolefonts are right now. Thanks again for everything mhertz!

Offline

#114 2012-08-03 18:18:03

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

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

You're most welcome, mate - and it's me that should be saying thanks here smile

I tested all the console-fonts and everyone is perfect now!

Thanks again!

Offline

#115 2012-08-19 18:57:51

zenblu
Member
Registered: 2010-12-12
Posts: 6

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

moetunes wrote:

you could do

${execi 1800 printf '\xBA'}

in conkyrc

My conky output is piped to dzen2. I tried doing

conky | dzen2 -fn -*-ohsnap.icons-*-r-*-*-*-*-*-*-*-*-*-*

while having

${execi 1800 printf '\xBA'}

in my conky config, but nothing shows up. Is this the correct way to do it?

I also wanted to doublecheck that I have the correct font, I tried viewing it with

xfd -fn '-*-ohsnap-*-r-*-*-*-*-*-*-*-*-*-*'

but I'm getting: Warning: Cannot convert string "-*-ohsnap-*-r-*-*-*-*-*-*-*-*-*-*" to type FontStruct. xfd:  no font to display

Would you have an idea what am I doing wrong? Thanks!

Last edited by zenblu (2012-08-19 18:59:10)

Offline

#116 2012-08-19 19:26:05

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

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

That suggests the font isn't installed and/or X isn't aware of it. I use a 20.fonts.conf to let X know about stlarch fonts.

 [ ~ ]$ cat /etc/X11/xorg.conf.d/20-fonts.conf
Section "Files"
    FontPath  "/usr/share/fonts/local"
EndSection

HTH


You're just jealous because the voices only talk to me.

Offline

#117 2012-08-19 19:45:10

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

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

^^Or you could use

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

in your .xinitrc. (log out and back in) And see if that works. And for xfd it's better if you specify it more like:

xfd -fn -*-ohsnap-medium-r-*-*-11-*-*-*-*-*-*-*

Offline

#118 2012-08-19 19:55:55

zenblu
Member
Registered: 2010-12-12
Posts: 6

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

Thank you, that worked great, I was doing fc-cache, I guess I needed this instead.

So the font looks ok, but still not able to display those characters. It works if I print any of the letters, e.g.  ${execi 1800 printf '\x84'}, but not with the icons, e.g. ${execi 1800 printf '\xa3}...

Offline

#119 2012-08-19 20:08:57

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

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

Maybe try pasting it directly into your script. Are you piping it into a bar or using it in it's own window? It sound like the same thing that kalle97 was having on the previous page.

Offline

#120 2012-08-19 21:09:48

zenblu
Member
Registered: 2010-12-12
Posts: 6

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

I'm piping it into dzen2:

 conky | dzen2 -fn -*-ohsnap.icons-*-r-*-*-*-*-*-*-*-*-*-*

And I have

${execi 1800 printf '\xa3'}

in my conky config.

To simplify:

(while true; do sleep 1; printf '\x4a'; done) | dzen2 -fn -*-ohsnap.icons-*-r-*-*-*-*-*-*-*-*-*-* -bg black

works (prints "J" in dzen)

(while true; do sleep 1; echo -e '\xa3'; done) | dzen2 -fn -*-ohsnap.icons-*-r-*-*-*-*-*-*-*-*-*-* -bg black

doesn't (no visible output in dzen)

while even for "J", the printf does not work

(while true; do sleep 1; printf '\x4a'; done) | dzen2 -fn -*-ohsnap.icons-*-r-*-*-*-*-*-*-*-*-*-* -bg black

Offline

#121 2012-08-19 22:02:08

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

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

Sorry, obviously, you said dzen. I don't use dzen myself and I can't remember what I used to do. Did you try echoing the symbol and then pasting it into the script instead of using '\xa3'. I'll try to take another look at it later tonight.

Offline

#122 2012-08-20 00:07:12

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

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

Try using something like

dzen2 -fn -*-ohsnap.icons-medium-r-*-*-11-*-*-*-*-*-*-*

instead of what you have. I'm not sure if that will make a difference.

Last edited by stlarch (2012-08-20 00:24:19)

Offline

#123 2012-08-20 11:55:42

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

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

@zenblu, like I said, try echoing the symbol in a terminal and then pasting it directly in your .conkyrc instead. here's a screenshot:
tZjYzMA
I also made an xbm icon set for dzen. It's called stlarch_icons and it's in the aur if you're interested in that.

Offline

#124 2012-08-24 18:12:30

ducpfp
Member
Registered: 2012-01-28
Posts: 11

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

Hi, stlarch, Thanks for the neat font !

I'm new to the thread and the font. I noticed that the capitalized "S" and number "5" look exactly the same.

Is this intentional design ? Though I can feel that a usual curved "S" would not fit very well with other characters ^^.

Also, I know you drop the 8x15, but it may suit for my big monitor. Is it possible to get it outside the current package ?

Cheers


Rorschach's Journal: October 12th, 1985. Tonight, a comedian died in New York.

Offline

#125 2012-08-24 20:55:26

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

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

Hi. Thank you. I couldn't make up my mind on the 5 and S. They're the same in spap too I think. Let me think about it and see if I can come up with something that works. I tried to make the top part shorter and the bottom longer before but I really don't like that either. I'll dig up the 15 for you too. My daughter just had her baby, so I'll be busy for the next few days but I'll try to get to it as soon as I can.

edit: Cigars for everyone!

Last edited by stlarch (2012-08-24 20:56:35)

Offline

Board footer

Powered by FluxBB