IdreesInc / Monocraft

A monospaced programming font inspired by the Minecraft typeface
https://idreesinc.com
SIL Open Font License 1.1
8.03k stars 114 forks source link

Add a .ttf file version for use with OLED displays #9

Closed HopefullyErin closed 1 year ago

HopefullyErin commented 1 year ago

I stumbled across your repo on Reddit and would LOVE to use this with a personal project. The SSD1306 driver uses .ttf files and cannot read .oft files. I would love to see that if possible.

timpickles commented 1 year ago

Until the .ttf is added to the repo I believe you should be able to create your own by installing Fontforge and opening the fontforge/Monocraft.sfd file and saving as .ttf.

It may also be possible to do this on the command line with the following:

fontforge -lang=ff -c 'Open($1); Generate($2); Close();' Monocraft.otf Monocraft.ttf
mainrs commented 1 year ago

A GitHub CI workflow would probably be a good idea. That way, a new tag could build both versions of the font and attach the files to a release.

IdreesInc commented 1 year ago

100% agree with the workflow suggestion, or at least automating things like this in some way. I'm going to need to look into whether I can make scripts for things like this, otherwise each new addition to the font will become tedious,

IdreesInc commented 1 year ago

Complete as part of https://github.com/IdreesInc/Monocraft/pull/74, check out the releases page for the .ttf and .otf versions