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
Description
Fonts ⇢ protobuf-encoded SDF glyphs
Readme 33 MiB
Languages
JavaScript 34.8%
C++ 33.8%
Shell 18.1%
Python 10.1%
Makefile 3.2%