Install Dina font on Debian

Facundo Bianco
1 min readOct 16, 2016

--

Dina font is my favorite terminal/programming font because it’s simple to recognize its characters and the zero (0) has a slash.

To install this awesome font run as root

wget -O Dina.zip 'https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61&refresh=5b7193954297c1534170005'
unzip -d /usr/share/fonts/Dina Dina.zip
cd /usr/share/fonts/Dina/BDF
mkfontscale
mkfontdir
dpkg-reconfigure fontconfig-config
fc-cache -f
xfontsel — point and click selection of X11 font names

If Dina font doesn’t appear in xfontsel, run

xset +fp /usr/share/fonts/Dina/BDF/

The X Logical Font Description (XLFD) full name for Dina is

-*-dina-medium-r-*-*-13-*-*-*-*-*-*-*

To use Dina font in URxvt add into ~/.Xdefaults

URxvt.font: xft:dina:size=11:antialias=true:hinting=true
URxvt.boldFont: xft:dina:size=11:antialias=true:hinting=true:style=bold

--

--