Modernized clone of @mapbox/glyph-pbf-composite
Combine glyph (SDF) PBFs on the fly.
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.
-
buffers
array An array of SDF PBFs -
fontstack
string Optional fontstack name to use for the combined PBF
Returns Buffer A combined SDF PBF
BSD 2-Clause License Copyright (c) 2016, Mapbox All rights reserved.