Permalink
Browse files

Merge pull request #14 from briangonzalez/collabs

fixed collabs
  • Loading branch information...
briangonzalez committed Sep 14, 2017
2 parents 38cbbf9 + 1a985b8 commit c1b6e89b7a3553cc0d2670b31dad156ef22fccb5
Showing with 10 additions and 6 deletions.
  1. +10 −6 README.md
View
@@ -1,4 +1,4 @@
<img src='https://rawgithub.com/briangonzalez/fontprep/master/fontprep/server/application/assets/images/logo.svg' height='30'> FontPrep
<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](https://github.com/briangonzalez/fontprep/releases)._
@@ -8,19 +8,19 @@ FontPrep takes your TTF and OTF font files and generates all of the respective f
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.
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.
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.
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
-----------------
@@ -30,9 +30,13 @@ Demo
----
Watch a demo [here](http://www.youtube.com/watch?feature=player_embedded&v=4nF3GHHOw-E).
Author
Collaborators
------
| ![twitter/brianmgonzalez](http://gravatar.com/avatar/f6363fe1d9aadb1c3f07ba7867f0e854?s=70](http://twitter.com/brianmgonzalez "Follow @brianmgonzalez on Twitter") |
| ![twitter/brianmgonzalez](http://gravatar.com/avatar/f6363fe1d9aadb1c3f07ba7867f0e854?s=70) |
|---|
| [Brian Gonzalez](http://briangonzalez.org) |
| ![twitter/artisfacto](https://avatars1.githubusercontent.com/u/1775184?v=4&s=70) |
|---|
| [Matthew Gonzalez](http://matthewgonzalez.me) |

0 comments on commit c1b6e89

Please sign in to comment.