mirror of
https://github.com/mapbox/node-fontnik.git
synced 2026-01-25 16:02:44 +00:00
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) 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.
Description
Languages
JavaScript
34.8%
C++
33.8%
Shell
18.1%
Python
10.1%
Makefile
3.2%