mirror of
https://github.com/mapbox/node-fontnik.git
synced 2026-01-18 15:54:55 +00:00
node-fontnik
A library that delivers a range of glyphs 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
Background reading
Description
Languages
JavaScript
34.8%
C++
33.8%
Shell
18.1%
Python
10.1%
Makefile
3.2%