node-fontnik/README.md
2014-01-14 15:18:03 -08:00

25 lines
833 B
Markdown

The font server loads vector tiles and map stylesheets. It extracts all labels
required to render the tile and loads all fonts in the font stack. Then, it
layouts the text with the respective writing direction ([Unicode bidi](http://www.unicode.org/reports/tr9/))
and glyph shaping and embeds these shaped glyphs aas well as the positions into
the augmented ("styled") vector tile.
## Installing
Make sure you have `pango` and `protobuf` installed. With homebrew, you can just
type `brew install pango protobuf`. The makefile uses `pkg-config` to find these
libraries and links dynamically to them, so make sure that `pkg-config` can find
them.
To compile this module, type:
```
bin/updateproto.sh
npm install
```
## Usage
This is included in the `llmr` project as a dependency: consult its `README.md`
for setup instructions.