Gentoo Forums
Gentoo Forums
Quick Search: in
Installing a custom consolefont. [solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Thu Sep 06, 2007 6:30 am    Post subject: Installing a custom consolefont. [solved] Reply with quote

Hi all

I want to install the proggy clean programming font on my computer. I have never tinkled with fonts in linux so I am quite lost.

The fonts I would like to install is found here, http://www.proggyfonts.com/index.php?menu=download

Thanks in advance :)

Edit:

See my last post.
_________________
From Gentoo with love


Last edited by Sedrik on Thu Mar 20, 2008 9:54 am; edited 3 times in total
Back to top
View user's profile Send private message
Ehnvis
Guru
Guru


Joined: 13 Jun 2006
Posts: 305
Location: /dev/random

PostPosted: Thu Sep 06, 2007 7:08 am    Post subject: Reply with quote

Download the ttf zip file, unpack it and then as root copy the files to /use/share/fonts/TTF. If the dir doesnt exist, create it.
In /etc/X11/xorg.conf under the "Files" Section add
Code:
Fontpath "/usr/share/fonts/TTF"
if it doesnt exists.

Then as root run
Code:
fc-cache -fv


You might have to restart X to be able to enjoy your new font, not sure about that though.
_________________
HP NC 4010, Pentium-M 725 1.6GHz w/ 1Gb RAM, 60Gb Hitachi Travelstar.
Running Gentoo-2.6.21-r4 (again as 2.6.22 kernels hogs CPU), all but SD reader works fine.
Back to top
View user's profile Send private message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Thu Sep 06, 2007 7:16 am    Post subject: Reply with quote

is it possible to install it system wide outside X to? sure the solution works fine to but I like to be as general as possible. =)
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Fri Sep 07, 2007 3:03 am    Post subject: Reply with quote

*bump
_________________
From Gentoo with love
Back to top
View user's profile Send private message
wsw1wsw2
n00b
n00b


Joined: 21 Jan 2007
Posts: 5

PostPosted: Fri Sep 07, 2007 4:36 am    Post subject: Reply with quote

Why not try framebufeer?
Fb console(fbcon) is not bad.
Back to top
View user's profile Send private message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Fri Sep 07, 2007 7:31 am    Post subject: Reply with quote

I have framebuffer..

Maybe I should state my wanted effect a little clearer.

I want all my terminals (both inside and outside) to be in that perticular font. The font is not installed as default so I would like to know how I can install it in a simple way (ideally would be so that I could use consolefont in /etc/conf.d/consolefont to change to it).

How can this be done.

Thanks all =)
_________________
From Gentoo with love
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1138
Location: Netherlands

PostPosted: Wed Sep 12, 2007 5:13 pm    Post subject: Reply with quote

If this font is already in .psf format you can just put him in /usr/share/consolefonts (for the sake of clarity) and use 'setfont <yourfont>' to test it. After that you can put the corresponding line in /etc/conf.d/consolefont ...

In case you only have .bdf files you can have a look at the terminus-font ebuild and the tarfile to see how how can achieve .psf files ...

HTH
swimmer
Back to top
View user's profile Send private message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Thu Sep 13, 2007 12:18 am    Post subject: Reply with quote

I can get a pcf font but not psf of it. :/

However a friend of mine showed me how to install a custom TTF font in X and I now got it working inside of X atleast (wich will have to do then).

Thanks all =)
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Sedrik
Guru
Guru


Joined: 08 Apr 2005
Posts: 568
Location: Uppsala, Sweden

PostPosted: Wed Mar 19, 2008 7:45 am    Post subject: Reply with quote

Hi again guys

After an unfortunate diskcrash I have reinstalled gentoo.

Now I can't seem to get the font back into X this is what I have done.

Downloaded the ttf and put it in /usr/share/fonts/TTF, added the fontpath to xorg.conf

did mkfontdir and mkfontscale on the font in the TTF dir.

run fc-cache -fv to generate the fonts

restarted X and xlsfonts dosen't list my font :(

Help needed.

Edit:

For people with the same problem check here http://www.gentoo-wiki.com/HOWTO_XFS_and_Custom_Fonts
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum