node-fontnik/README.md
2014-06-09 19:43:00 -04:00

957 B

Build Status

node-fontnik

A library that delivers a range of characters rendered as SDFs (signed distance fields) in a protobuf.

Installing

By default, installs binaries. On these platforms no external dependencies are needed.

  • 64 bit OS X or 64 bit Linux
  • Node v0.10.x

Just run:

npm install

However, other platforms will fall back to a source compile: see building from source for details.

Building from source

Make sure you have boost, freetype, and protobuf installed. With Homebrew, you can type brew install boost --c++11 freetype protobuf --c++11. The Makefile uses pkg-config to find these libraries and links dynamically to them, so make sure that pkg-config can find them.

npm install --build-from-source