JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 122
  • Score
    100M100P100Q74002F
  • License MIT

Adobe Font Metrics

Package Exports

  • afm

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (afm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

afm

Collection of AFM (Adobe Font Metrics) specifications in JSON format, with CommonJS JavaScript API.

Example

var afm = require('afm')
afm.fonts.ArialMT

Development

To (re)fetch the original files at vendor/**/*.afm from the internet:

make

To (re)generate the JSON files by parsing the character metrics for each AFM file in the repository:

npm run prepublishOnly

References

License

Copyright 2015–2018 Christopher Brown. MIT Licensed.