Dina Bitmap Font for OSX

I used FontForge to create a version of the Dina programming font optimized for OSX.

[ Download DinaMedium.dfont.zip ]

Usage note: you must set the font size to 16 for this font to display correctly.  See below.

Other versions of the Dina font I was able to find on the internet all got screwed up on OSX so I made this one.  It seems to work great in Emacs.app, MacVim, and XCode.

To use this file, unzip it and put DinaMedium.dfont into ~/Library/Fonts/ and follow the instructions for your editor:

Emacs.app configuration: I am using emacs24 compiled with these instructions.   I added these lines to ~/.emacs:

(setq mac-allow-anti-aliasing nil)
(set-frame-font "-apple-Dina-medium-normal-normal--16--*-*-m-0-iso10646-1")

MacVim configuration:  Using the latest macvim, I added this line to ~/.vimrc:

set noantialias
set guifont=Dina-medium:h16

Any other app configuration:  Select Dina-medium from the standard OSX font picker and set size to 16.

Dina is my favorite font for programming.  All letters and symbols are clearly disambiguated, like zero and a capital ‘O’, or braces, brackets, and parenthesis (essential for clojure programming).  The size is just right for my eyes and a 30″ display.  And I love the overall aesthetic.  Hope you enjoy!


  1. Posted August 30, 2011 at 7:44 am | Permalink | Reply

    Thanks for making this available! From the screenshot it looks like it’s a fair bit less compact vertically than the good old xterm/x11 font. On a 30-inch screen that gives 120 lines of code per window and, at 80 columns, you can fit 5 windows side-by-side. 600 lines of code all in view!

    That reminds me a fancy emacs feature that sounds really nice: follow-mode.

  2. Posted July 12, 2015 at 11:25 pm | Permalink | Reply

    Here’s finally a Mac Dina version that is as compact as the original and comes with bold version: http://www.hexagonstar.com/blog/news/dinapro-coding-font-for-mac-released/

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: