This package has been deprecated

Author message:

This package has moved to the @mapbox namespace. All new versions are available via @mapbox/font-scope

font-scope

1.3.0 • Public • Published

font-scope

build status

generate font debugging information

fontScope(points_array)

Analyze a font's coverage across languages

Analysis results include:

{
  name: 'English',    // English font name
  id: 'en',           // Unicode font code
  coverages: [26, 0], // array of how many codepoints are covered by each points
  count: 26,          // codepoints in this font for this language
  total: 26           // codepoints in this language
}

Parameters

parameter type description
points_array Array.<Array> an array of arrays of codepoints, corresponding to the coverage of multiple fonts.

Returns Object, analysis

Installation

Requires nodejs.

$ npm install font-scope

Tests

$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i font-scope

Weekly Downloads

12

Version

1.3.0

License

ISC

Unpacked Size

363 kB

Total Files

16

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