1.3.0 • Published 6 years ago

font-scope v1.3.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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

parametertypedescription
points_arrayArray.\<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
1.3.0

6 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago