1.0.2 • Published 12 months ago

@furkot/glyph-pbf-composite v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

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.

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago