Skip to content

furkot/glyph-pbf-composite

 
 

Repository files navigation

NPM version Build Status Dependency Status

Modernized clone of @mapbox/glyph-pbf-composite

glyph-pbf-composite

Combine glyph (SDF) PBFs on the fly.

API

Table of Contents

combine

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

  • buffers array An array of SDF PBFs
  • fontstack string Optional fontstack name to use for the combined PBF

Returns Buffer A combined SDF PBF

License

BSD 2-Clause License Copyright (c) 2016, Mapbox All rights reserved.

About

Composite glyph PBFs on the fly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.9%
  • Makefile 6.1%