@mapbox/glyph-pbf-composite

0.0.3 • Public • Published

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

parameter type description
buffers array An array of SDF PBFs.

Installation

Requires nodejs.

$ npm install @mapbox/glyph-pbf-composite

Tests

$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @mapbox/glyph-pbf-composite

Weekly Downloads

987

Version

0.0.3

License

none

Last publish

Collaborators

  • mbx-npm-ci-production
  • mbx-npm-ci-staging
  • mbx-npm-advanced-actions-production
  • mbx-npm-advanced-actions-staging
  • mbx-npm-09-production
  • mbx-npm-08-production
  • mbx-npm-07-production
  • mbx-npm-06-production
  • mbx-npm-05-production
  • mbx-npm-04-production
  • mbx-npm-03-production
  • mbx-npm-02-production
  • mbx-npm-01-production
  • mbx-npm-02-staging
  • mapbox-npm-01
  • mapbox-npm-02
  • mapbox-npm-07
  • mapbox-npm-03
  • mapbox-npm-04
  • mapbox-npm-09
  • mapbox-npm-05
  • mapbox-npm-06
  • mapbox-npm-08
  • mapbox-npm-advanced-actions
  • mapbox-npm-ci
  • mapbox-npm
  • mapbox-admin
  • mapbox-machine-user