Posts tagged ‘console’

Using Dina as a console font

A month ago or so I thought of using Dina as a console (no X) font and looked into if this was possible. I found out that it was.

Here is what you need:
Dina-font (fon file)

Download and extract
Run the following in the directory where you extracted
$> fon2fnts Dina.fon
Which will extract the fnt’s from the fon package. Now you’ll need to convert one of the fnt’s to a psf which is what is used in the console:
$> fnt2psf Dina_8.fnt Dina-8.psf
Now copy the resulting Dina-8.psf to /usr/share/kbd/consolefonts/ and close down X.

Test out the font with $> setfont Dina-8

Here is the result:

As you can see it’s not perfect since the converted Dina font can’t handle box drawing glyphs. My best guess is that it is an unicode problem. Haven’t figured that one out yet.