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)
psftools

Download and extract Dina.zip.
Run the following in the directory where you extracted Dina.zip:
$> 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:
dinaconsole

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.

Ashren

One Comment

  1. Sara says:

    Thank you so much for posting these instructions, which I adapted to convert MonteCarlo into a PSF font. I had previously tried to convert it from the BDF format to PSF, but this did not preserve the proper font spacing. However, FON to PSF worked perfectly! Having MonteCarlo in the linux console is a dream come true for me.

Leave a Reply