afm
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

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.

Package Sidebar

Install

npm i afm

Weekly Downloads

130

Version

0.4.0

License

MIT

Unpacked Size

1.09 MB

Total Files

46

Last publish

Collaborators

  • chbrown