Monocraft
A monospaced programming font inspired by the Minecraft typeface
A Minecraft-themed monospaced coding font with over 1,500 glyphs, including programming ligatures and the fictional Minecraft enchantment alphabet, built with Python and FontForge for use in any code editor or website.
Monocraft is a programming font built for developers who like the look of Minecraft. The characters are drawn in the blocky style of the Minecraft user interface, then adapted to work as a monospaced font where every character takes up the same amount of horizontal space. This matters for coding because editors expect uniform character widths to keep lines, indentation, and symbols aligned properly.
The font includes over 1,500 glyphs, covering standard letters, numbers, punctuation, and diacritics for many languages. Characters that are naturally thin, like "i" and "l", have been redesigned with added details to look better alongside wider characters in a monospaced layout. Programming ligatures are also included, combining certain character pairs into single glyphs so that arrows and comparison operators display as clean, readable symbols rather than two separate characters pushed together.
One unusual addition is support for the "standard galactic alphabet," the fictional script used for Minecraft's enchantment table text. The font maps this script to a special range of codepoints, so you can type in it if you first convert your text using an external substitution tool. The README includes step-by-step instructions for doing this.
The font is built with Python using FontForge, an open-source font editor. Glyphs are defined in configuration files that describe each character pixel by pixel, and the build script assembles them into the finished font file. Diacritics are created separately and combined with base characters to produce over 500 additional glyphs. The project is entirely fan-made and has no affiliation with Mojang or the Minecraft game.
Installing Monocraft works like any other font. On Mac, a single Homebrew command handles it. On Windows, you download the font file and right-click to install. On Linux, you copy the file to your local fonts directory and refresh the font cache. You can also load it on a website by adding a CSS font-face declaration pointing at the hosted file.
Where it fits
- Set Monocraft as your code editor font to give your coding environment a blocky Minecraft-inspired look.
- Load the font on your website using a CSS @font-face declaration for a unique Minecraft aesthetic.
- Type in the Minecraft enchantment table script by converting text to the galactic alphabet codepoints.
- Fork the project and define new glyphs pixel-by-pixel using the Python build system.