Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including punchcutter with all npm packages installed. Try it out:

var punchcutter = require("punchcutter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

punchcutter v0.1.20

Build fonts

Punchcutter Build Status

Build fonts.



sudo apt-get install fontforge g++ graphicsmagick pngquant

The most recent version of ttfautohint in Ubuntu 14/15 has a fatal bug, and should be compiled from source.

Step 1

sudo apt-get install autoconf automake bison flex git pkg-config gcc g++ libglib2.0-dev libcairo2-dev libtool libc6 libfreetype6 libgcc1 libqtcore4 libqtgui4 libstdc++6 libqt4-dev libfreetype6-dev libharfbuzz-dev pandoc texlive-xetex help2man
git clone
cd ttfautohint

Step 2

In, comment out line 100-105 except line 104:

FREETYPE_LIBS="`$ft_config --libs`"

This is needed because freetype-config --libtool causes configure to fail.

Step 3

nano # Make changes mentioned above
./configure --with-doc=no
sudo make install


brew install fontforge
brew install gcc48 --enable-cxx
brew install pngquant
brew install ttfautohint --with-qt


Test font: Ionicons (MIT license)


Copyright (c) 2016 Hein Bekker. Licensed under the GNU Affero General Public License, version 3.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free