Fontprep
🔣 The missing font generator for Mac OSX.
Install / Use
/learn @briangonzalez/FontprepREADME
🚨 FontPrep is no longer maintained and has been superceded by fontplop 🚨
<img src='https://rawgithub.com/briangonzalez/fontprep/master/fontprep/server/application/assets/images/logo.svg' height='30'> FontPrep
The missing font generator for Mac OSX. Download here.
About
FontPrep takes your TTF and OTF font files and generates all of the respective font-formats for the web: WOFF, EOT, and SVG.
How it works
FontPrep uses a slightly modified version of cocoa-rack (https://github.com/briangonzalez/cocoa-rack). In essence, when you start FontPrep, you're starting a little Sinatra app on port 7500 then instantiating a webview pointing at that server.
Commands are sent from the webview back down to the Sinatra server as you interact with FontPrep, and commands are piped to stdout (be it FontForge, ttf2eot, etc.) to complete the given task. We use a little Applescript magic when necessary.
The main Sinatra logic lives inside of fontprep/server. The sinatra server is daemonized, meanings its process will persist across closing/opening of FontPrep. To kill FontPrep's server outright, visit http://127.0.0.1:7500/kill in your browser.
Building FontPrep
Simply open up FontPrep.xcodeproj with the latest version of XCode, go to Product -> Clean then Product -> Run or Product -> Archive to create a binary.
Updating FontPrep
Be sure to increment the Version and Bundle inside XCode to update FontPrep correctly. Incrementing these values is what tells FontPrep to kill old daemonized server processes.
A word of caution
This code has not been incredibly well maintained over the years. Tread lightly and have fun breaking FontPrep.
Demo
Watch a demo here.
Collaborators
| |
|---|
| Brian Gonzalez |
| |
|---|
| Matthew Gonzalez |
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
