Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

none

Install

npm i font-scope

DownloadsWeekly Downloads

4

Version

1.3.0

License

ISC

Unpacked Size

363 kB

Total Files

16

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar