• Stars
    star
    1,229
  • Rank 38,186 (Top 0.8 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 11 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ”ฃ The missing font generator for Mac OSX.

๐Ÿšจ FontPrep is no longer maintained and has been superceded by fontplop ๐Ÿšจ


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

twitter/brianmgonzalez
Brian Gonzalez
twitter/artisfacto
Matthew Gonzalez

More Repositories

1

jquery.adaptive-backgrounds.js

๐ŸฆŽ A jQuery plugin for extracting the dominant color from images and applying the color to their parent.
JavaScript
6,553
star
2

rgbaster.js

๐ŸŽจ A simple library for extracting dominant colors from images.
TypeScript
1,741
star
3

jquery.pep.js

๐Ÿ‘Ÿ Pep, a lightweight plugin for kinetic drag on mobile/desktop
JavaScript
1,296
star
4

jquery.arbitrary-anchor.js

โš“ Arbitrary anchors for any element on your page using a little jQuery magic.
JavaScript
370
star
5

codrops-medium-style-page-transitions

The repository for this article: http://tympanus.net/codrops/2013/10/30/medium-style-page-transition/
CSS
257
star
6

termrc

Take your iTerm2 environments with you wherever you go.
Ruby
88
star
7

cocoa-rack

Run rack apps within Mac apps.
Objective-C
87
star
8

alfred-messages

Message your Apple Contacts via Alfred using Messages
Swift
66
star
9

awesome-applescripts

A collection of awesome, useful, not-so-obvious applescripts.
AppleScript
63
star
10

craigslist-scout

A dead simple command line tool to query multiple Craigslist cities (subdomains) and email out new results.
JavaScript
19
star
11

gridss

A CSS Grid microlib.
HTML
15
star
12

calle-app

CalleApp: El ultimo SF food truck locator.
JavaScript
12
star
13

gulp-file-contents-to-json

Slurp in some files, output a JSON representation of their contents.
JavaScript
12
star
14

nesta-boilerplate

Nesta starting point with baked-in H5BP, Compass, Semantic GS, & Capistrano
JavaScript
11
star
15

border-animate.js

Effortless border-length animations.
JavaScript
11
star
16

google-drive-email-saver

google-drive-email-saver
Ruby
10
star
17

broccoli-file-contents-to-json

Given a directory of files, output a JSON representation of their contents.
JavaScript
9
star
18

inkpress

A small, lightweight, dead simple content management system built on free & open source technologies.
JavaScript
8
star
19

top

Top: OSX App to emulate iOS's scroll-to-top functionality
Objective-C
6
star
20

alfred-reminders

View, add, and complete reminders via Alfred.
JavaScript
6
star
21

briangonzalez.org

My website built atop Hexo, VueJS, and Github Pages.
CSS
6
star
22

Sirkel

Geolocation-based chat app
JavaScript
5
star
23

cleardns

Dependency-free, platform-aware, DNS-clearing library.
JavaScript
5
star
24

animicons

Animicons: Sprite Animations with Icon Fonts
4
star
25

reminders-menu-bar

Reminders in your menu bar.
JavaScript
4
star
26

alfred-cleardns

Clear your DNS via Alfred.
JavaScript
4
star
27

dotfile-cabinet

Responsibly manage your dotfiles with Dropbox.
Ruby
4
star
28

eotlitetool.py

Create EOT version of OpenType font for use with IE
Python
3
star
29

fontprep-crx

A Chrome extension for FontPrep.
JavaScript
3
star
30

auth-code-copy

Copy auth codes sent via iMessage to your clipboard.
JavaScript
3
star
31

compass2css

Convert Compass to CSS. On the web.
Ruby
2
star
32

jquery.pep.js-website

jquery.pep.js website (built on Sinatra)
JavaScript
2
star
33

poly-cms-gem

A simple way to manage your content.
Ruby
2
star
34

ember-polymorphic

Polymorphic relationship example in Ember.
JavaScript
2
star
35

grunt-starter

A simple grunt starter project.
JavaScript
2
star
36

underscore-template-fetcher

A small utility function built on top of underscore.js which provides a simple API for fetching template strings via AJAX.
JavaScript
2
star
37

sinatra-webdav-neue

A Sinatra-based webdav server powered by rack_dav.
Ruby
2
star
38

origin

a simple sinatra starter
JavaScript
2
star
39

async-await-import-export

Passing around async functions.
JavaScript
1
star
40

stub-stub

A node module for quick and dirty API stubbing based on YAML files inside a sensible directory structure.
JavaScript
1
star
41

code-copy

A macOS for copying auth codes sent via iMessage.
TypeScript
1
star
42

farkle-ai

A Sinatra interface to a Monte Carlo-based Farkle AI.
Ruby
1
star
43

ts-export-import-demo

TypeScript
1
star
44

alfred-table

Paste a random table flip to your clipboard โ”ฌโ”€โ”€โ”ฌ ใƒŽ( ใ‚œ-ใ‚œใƒŽ)
JavaScript
1
star
45

blog-compile-handlebars-templates-ember-with-gulp

Compile Handlebars templates for Ember with Gulp.
JavaScript
1
star