You are not logged in.
you could do
${execi 1800 printf '\xBA'}
in conkyrc
You're just jealous because the voices only talk to me.
Offline
Thank you!
Offline
@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
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
It's a truly nice font I must say, it looks good and is very easy to read, perfect in my opinion. Feels like I gonna stick with this a while.
Offline
@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...
Last edited by mhertz (2012-07-22 11:25:01)
Offline
@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
Thanks alot, mate! Indeed this now works correctly!
Offline
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
Hey stlarch,
I have a "little" request 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*
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
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
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
That's cool. I updated ohsnap and termsyn and hopefully the consolefonts are right now. Thanks again for everything mhertz!
Offline
You're most welcome, mate - and it's me that should be saying thanks here
I tested all the console-fonts and everyone is perfect now!
Thanks again!
Offline
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
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
^^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
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
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
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
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
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
Offline
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
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