0.0.2 • Published 9 years ago

glyph-pbf-composite v0.0.2

Weekly downloads
243
License
-
Repository
-
Last release
9 years ago

glyph-pbf-composite

Combine glyph (SDF) PBFs on the fly.

combine(buffers)

Combine any number of glyph (SDF) PBFs. Returns a re-encoded PBF with the combined font faces, composited using array order to determine glyph priority.

Parameters

parametertypedescription
buffersarrayAn array of SDF PBFs.

Installation

Requires nodejs.

$ npm install glyph-pbf-composite

Tests

$ npm test