Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install the artwiz fonts in ubuntu 12.04 and following this thread. But xfonts-artwiz2 package doesn't exist in 12.04. Also the thread is too old!

I am trying to install the osnap font . How can I install this font in 12.04?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Here's a step-by-step in terminal

$ cd /usr/share/fonts
$ sudo mkdir myfonts
$ cd myfonts
$ sudo wget -O- downloads.sourceforge.net/project/osnapfont/ohsnap-1.7.4.tar.gz?r=http://sourceforge.net/projects/osnapfont/&ts=1336734212&use_mirror=iweb | sudo tar -xz
$ cd ohsnap-1.7.4
$ sudo mkfontdir
$ sudo xset fp+ /usr/share/fonts/myfonts/ohsnap-1.7.4
$ sudo xset fp rehash

That should do the trick!

You can test them out by running, e.g.: xterm -fn -*-ohsnap-*-*-*-*-17-*-*-*-*-*-*-*

Use xfontsel to come up with the appropriate font string.


Screenshot of xterm running ohsnap font:

xterm running ohsnap

share|improve this answer
    
I did what you have mentioned above, but I can't see the font listed when i go to terminal edit profile (choose fonts) –  Madhusudhan May 11 '12 at 14:46
    
Please see edits. These don't work in the default Terminal (Gnome-terminal) by design; those applications use Truetype/Opentype fonts. They only work in pure-X11 applications like xterm, or rxvt. –  izx May 11 '12 at 15:08
    
yeah, it only works on xterm not on gnome terminal. Thanks that worked! –  Madhusudhan May 11 '12 at 16:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.