| View previous topic :: View next topic |
| Author |
Message |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Thu Sep 06, 2007 6:30 am Post subject: Installing a custom consolefont. [solved] |
|
|
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 |
|
 |
Ehnvis Guru

Joined: 13 Jun 2006 Posts: 305 Location: /dev/random
|
Posted: Thu Sep 06, 2007 7:08 am Post subject: |
|
|
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
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 |
|
 |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Thu Sep 06, 2007 7:16 am Post subject: |
|
|
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 |
|
 |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Fri Sep 07, 2007 3:03 am Post subject: |
|
|
*bump _________________ From Gentoo with love |
|
| Back to top |
|
 |
wsw1wsw2 n00b


Joined: 21 Jan 2007 Posts: 5
|
Posted: Fri Sep 07, 2007 4:36 am Post subject: |
|
|
Why not try framebufeer?
Fb console(fbcon) is not bad. |
|
| Back to top |
|
 |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Fri Sep 07, 2007 7:31 am Post subject: |
|
|
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 |
|
 |
swimmer Veteran


Joined: 15 Jul 2002 Posts: 1138 Location: Netherlands
|
Posted: Wed Sep 12, 2007 5:13 pm Post subject: |
|
|
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 |
|
 |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Thu Sep 13, 2007 12:18 am Post subject: |
|
|
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 |
|
 |
Sedrik Guru


Joined: 08 Apr 2005 Posts: 568 Location: Uppsala, Sweden
|
Posted: Wed Mar 19, 2008 7:45 am Post subject: |
|
|
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 |
|
 |
|